[Fusionforge-commits] r8697 - trunk/gforge/plugins/mediawiki/cronjobs

Roland Mas lolando at libremir.placard.fr.eu.org
Fri Jan 29 13:54:14 CET 2010


Author: lolando
Date: 2010-01-29 13:54:13 +0100 (Fri, 29 Jan 2010)
New Revision: 8697

Modified:
   trunk/gforge/plugins/mediawiki/cronjobs/create-wikis.sh
Log:
Fixed bashism in cronjob

Modified: trunk/gforge/plugins/mediawiki/cronjobs/create-wikis.sh
===================================================================
--- trunk/gforge/plugins/mediawiki/cronjobs/create-wikis.sh	2010-01-28 20:34:46 UTC (rev 8696)
+++ trunk/gforge/plugins/mediawiki/cronjobs/create-wikis.sh	2010-01-29 12:54:13 UTC (rev 8697)
@@ -109,7 +109,7 @@
 	cat $wdprefix/$project/LocalSettings.php | grep -vi "\$wgGroupPermissions\['\*'\]\['read'\]" > $tmp4
 	cat $tmp4 > $wdprefix/$project/LocalSettings.php
 
-	if [ $ispublic == '0' ] ; then
+	if [ $ispublic = '0' ] ; then
 		echo "\$wgGroupPermissions['Members']['read']    = true;" >> $wdprefix/$project/LocalSettings.php
 		echo "\$wgGroupPermissions['*']['read']          = false;" >> $wdprefix/$project/LocalSettings.php
 	fi




More information about the Fusionforge-commits mailing list