[or-cvs] r20149: {translation} minor fix (translation/trunk/tools/gsoc09)

runa at seul.org runa at seul.org
Sun Jul 26 15:07:03 UTC 2009


Author: runa
Date: 2009-07-26 11:07:03 -0400 (Sun, 26 Jul 2009)
New Revision: 20149

Modified:
   translation/trunk/tools/gsoc09/wml2po.sh
Log:
minor fix

Modified: translation/trunk/tools/gsoc09/wml2po.sh
===================================================================
--- translation/trunk/tools/gsoc09/wml2po.sh	2009-07-25 19:51:01 UTC (rev 20148)
+++ translation/trunk/tools/gsoc09/wml2po.sh	2009-07-26 15:07:03 UTC (rev 20149)
@@ -115,10 +115,7 @@
 				if [ $content = 0 ] 
 				then
 					rm -f "$popath/$pofile"
-				fi
-
-				if [ $content != 0 ]
-				then
+				else
 					# Set the right encoding and charset
 					sed -i '1,/CHARSET/ s/CHARSET/UTF-8/' "$popath/$pofile"
 					sed -i '1,/ENCODING/ s/ENCODING/8bit/' "$popath/$pofile"



More information about the tor-commits mailing list