]> xenbits.xensource.com Git - people/dariof/osstest.git/commitdiff
standalone: Honour OSSTEST_CONFIG
authorIan Jackson <ian.jackson@eu.citrix.com>
Fri, 27 Jun 2014 15:51:27 +0000 (16:51 +0100)
committerIan Jackson <Ian.Jackson@eu.citrix.com>
Fri, 27 Jun 2014 16:52:51 +0000 (17:52 +0100)
If OSSTEST_CONFIG is set in the environment, do not default it
to ~/.xen-osstest/config.

Signed-off-by: Ian Jackson <Ian.Jackson@eu.citrix.com>
standalone

index b5eb9bc542361c2d371ed6d4c26a9d667614680c..55e884f0f931b2f23f28635f91f8c13c2ab7a407 100755 (executable)
@@ -61,7 +61,7 @@ TEMP=$(getopt -o c:f:h:rR --long config:,flight:,host:,reuse,noreuse,reinstall,l
 
 eval set -- "$TEMP"
 
-config=$HOME/.xen-osstest/config
+config=${OSSTEST_CONFIG-$HOME/.xen-osstest/config}
 flight="standalone"
 host=
 reuse=1 # Don't blow away machines by default