Browse code

think I found my bug in po2wml

Runa A. Sandvik authored on21/07/2011 09:07:23
Showing1 changed files
... ...
@@ -410,7 +410,7 @@ for file in $po ; do
410 410
 	else
411 411
 		# If the current languge is of the form "xx_XX", rename
412 412
 		# to "xx-xx" instead (except for pl_PL)
413
-		if [[ $lang =~ "_" && $subdir != "pl_PL" ]]
413
+		if [[ $lang =~ "_" && $lang != "pl_PL" ]]
414 414
 		then
415 415
 			lang="`echo $lang | sed s/_/-/ | tr '[A-Z]' '[a-z]'`"
416 416
 			subdir