[Fusionforge-commits] r13132 - trunk/tests/scripts

Christian Bayle cbayle at fusionforge.org
Thu Apr 14 18:00:38 CEST 2011


Author: cbayle
Date: 2011-04-14 18:00:36 +0200 (Thu, 14 Apr 2011)
New Revision: 13132

Modified:
   trunk/tests/scripts/cdx40-build-and-test-source.sh
Log:
Allow HOST as arg


Modified: trunk/tests/scripts/cdx40-build-and-test-source.sh
===================================================================
--- trunk/tests/scripts/cdx40-build-and-test-source.sh	2011-04-14 15:50:00 UTC (rev 13131)
+++ trunk/tests/scripts/cdx40-build-and-test-source.sh	2011-04-14 16:00:36 UTC (rev 13132)
@@ -11,7 +11,12 @@
 # get config
 . tests/config/default
 if [ -f tests/config/`hostname` ] ; then . tests/config/`hostname`; fi
-export HOST=cdx40.$DNSDOMAIN
+if [ ! -z "$1" ]
+then
+        export HOST=$1
+else
+	export HOST=cdx40.$DNSDOMAIN
+fi
 
 export LXCTEMPLATE=$LXCCOSTEMPLATE
 




More information about the Fusionforge-commits mailing list