1
0
mirror of synced 2026-04-13 23:23:41 +00:00

Fix output redirection in release-testing script

This commit is contained in:
Axel Beckert
2019-02-07 15:48:19 +01:00
parent 42e7dca4bf
commit 17d868d38d

View File

@@ -1,8 +1,9 @@
#!/bin/sh
#!/bin/bash
set -e
exec 2>&1 | tee xen-tools-release-testing-$(date -Iseconds).log
exec 2>&1
exec > >( tee xen-tools-release-testing-$(date -Iseconds).log )
if [ -z "$DISTRIBUTIONS" ]; then
DISTRIBUTIONS=$(awk '!/^#|^$|dont-test/ {print $1}' /etc/xen-tools/distributions.conf)