Fix output redirection in release-testing script
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user