[tor-commits] r24917: {website} think I found my bug in po2wml (website/trunk)

Runa Sandvik runa.sandvik at gmail.com
Thu Jul 21 07:07:23 UTC 2011


Author: runa
Date: 2011-07-21 07:07:23 +0000 (Thu, 21 Jul 2011)
New Revision: 24917

Modified:
   website/trunk/po2wml.sh
Log:
think I found my bug in po2wml

Modified: website/trunk/po2wml.sh
===================================================================
--- website/trunk/po2wml.sh	2011-07-21 04:11:03 UTC (rev 24916)
+++ website/trunk/po2wml.sh	2011-07-21 07:07:23 UTC (rev 24917)
@@ -410,7 +410,7 @@
 	else
 		# If the current languge is of the form "xx_XX", rename
 		# to "xx-xx" instead (except for pl_PL)
-		if [[ $lang =~ "_" && $subdir != "pl_PL" ]]
+		if [[ $lang =~ "_" && $lang != "pl_PL" ]]
 		then
 			lang="`echo $lang | sed s/_/-/ | tr '[A-Z]' '[a-z]'`"
 			subdir



More information about the tor-commits mailing list