[Fusionforge-commits] r10179 - trunk/src/utils

Christian Bayle cbayle at libremir.placard.fr.eu.org
Sat Jul 3 21:30:48 CEST 2010


Author: cbayle
Date: 2010-07-03 21:30:47 +0200 (Sat, 03 Jul 2010)
New Revision: 10179

Modified:
   trunk/src/utils/manage-apache-config.sh
Log:
Remove eventual leading space


Modified: trunk/src/utils/manage-apache-config.sh
===================================================================
--- trunk/src/utils/manage-apache-config.sh	2010-07-03 19:30:39 UTC (rev 10178)
+++ trunk/src/utils/manage-apache-config.sh	2010-07-03 19:30:47 UTC (rev 10179)
@@ -68,7 +68,7 @@
 	    ftmp=$(mktemp $f.generated.XXXXXX)
 	    cp -a $f $ftmp
 	    for v in $vars ; do
-		curvar=$(forge_get_config ${v##*/} ${v%%/*})
+		curvar=`echo $(forge_get_config ${v##*/} ${v%%/*})`
 		grep -q {$v} $ftmp && sed -i -e s,{$v},{$curvar},g $ftmp
 	    done
 	    mv $ftmp $f.generated




More information about the Fusionforge-commits mailing list