[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

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



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

_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits