[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[or-cvs] r19958: {translation} make sure we can commit files  (translation/trunk/tools/gsoc09)
Author: runa
Date: 2009-07-09 07:41:24 -0400 (Thu, 09 Jul 2009)
New Revision: 19958
Modified:
   translation/trunk/tools/gsoc09/po2wml.sh
   translation/trunk/tools/gsoc09/wml2po.sh
Log:
make sure we can commit files
Modified: translation/trunk/tools/gsoc09/po2wml.sh
===================================================================
--- translation/trunk/tools/gsoc09/po2wml.sh	2009-07-09 05:31:36 UTC (rev 19957)
+++ translation/trunk/tools/gsoc09/po2wml.sh	2009-07-09 11:41:24 UTC (rev 19958)
@@ -31,6 +31,9 @@
 
 trap "rm -f '$LOCKFILE'" exit
 
+# cd to the right directory so we can commit the files later
+cd "$wmldir"
+
 # We need to find the po files
 po=`find $podir -regex '^'$podir'/.*/.*\.po' -type f`
 
Modified: translation/trunk/tools/gsoc09/wml2po.sh
===================================================================
--- translation/trunk/tools/gsoc09/wml2po.sh	2009-07-09 05:31:36 UTC (rev 19957)
+++ translation/trunk/tools/gsoc09/wml2po.sh	2009-07-09 11:41:24 UTC (rev 19958)
@@ -36,6 +36,9 @@
 
 trap "rm -f '$LOCKFILE'" exit
 
+# cd to the right directory so we can commit the files later
+cd "$podir"
+
 # We only need the english wml files
 wml=`find $wmldir -regex '^'$wmldir'/.*en/.*\.wml' -type f`