[Pkg-voip-commits] r2707 - zaptel/trunk/debian

Tzafrir Cohen tzafrir-guest at alioth.debian.org
Wed Nov 15 16:10:26 CET 2006


Author: tzafrir-guest
Date: 2006-11-15 16:10:26 +0100 (Wed, 15 Nov 2006)
New Revision: 2707

Modified:
   zaptel/trunk/debian/modulestest
Log:
Allow passing the arguments through the environment if bash quoting 
won't let us pass them in the command-line.

Modified: zaptel/trunk/debian/modulestest
===================================================================
--- zaptel/trunk/debian/modulestest	2006-11-15 15:07:56 UTC (rev 2706)
+++ zaptel/trunk/debian/modulestest	2006-11-15 15:10:26 UTC (rev 2707)
@@ -21,6 +21,11 @@
 # .changes files even without signing
 MODASS="env SIGNCHANGES=1 DEBSIGNCOMMAND=not_an_executable m-a"
 
+# workaround for silly bash parsing issue in our build scripts:
+if [ "$#" -lt 1 ]; then
+  set -- $MODULESTEST_ARGS
+fi
+
 while getopts ah:s:txX arg
 do
   case "$arg" in




More information about the Pkg-voip-commits mailing list