[Fusionforge-commits] r7310 - trunk/gforge/utils

Roland Mas lolando at libremir.placard.fr.eu.org
Thu Apr 2 21:53:41 CEST 2009


Author: lolando
Date: 2009-04-02 21:53:41 +0200 (Thu, 02 Apr 2009)
New Revision: 7310

Modified:
   trunk/gforge/utils/manage-translations.sh
Log:
Fixed wrong logic in previous commit

Modified: trunk/gforge/utils/manage-translations.sh
===================================================================
--- trunk/gforge/utils/manage-translations.sh	2009-04-02 19:46:02 UTC (rev 7309)
+++ trunk/gforge/utils/manage-translations.sh	2009-04-02 19:53:41 UTC (rev 7310)
@@ -5,8 +5,8 @@
 
 if [ -e gforge/translations/gforge.pot ] ; then        # We're in the parent dir
     cd gforge
-elif [ -e translations/gforge.pot ] ; then             # probably in gforge/
-    cd ../gforge
+elif [ -e translations/gforge.pot ] ; then             # probably in gforge/ (or a renamed gforge/)
+    cd . # do nothing, but shell syntax requires an instruction in a then-block
 elif [ -e ../gforge/translations/gforge.pot ] ; then   # in tools/ or tests/ or something
     cd ../gforge
 elif [ -e ../translations/gforge.pot ] ; then          # In a subdir of gforge/




More information about the Fusionforge-commits mailing list