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

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


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

Modified:
   trunk/src/utils/manage-apache-config.sh
Log:
Use temp curvar to remove separator


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




More information about the Fusionforge-commits mailing list