[tor-commits] r25024: {website} minor fix (website/trunk)

Runa Sandvik runa.sandvik at gmail.com
Mon Sep 5 00:36:50 UTC 2011


Author: runa
Date: 2011-09-05 00:36:50 +0000 (Mon, 05 Sep 2011)
New Revision: 25024

Modified:
   website/trunk/wml2po.sh
Log:
minor fix

Modified: website/trunk/wml2po.sh
===================================================================
--- website/trunk/wml2po.sh	2011-09-04 23:17:06 UTC (rev 25023)
+++ website/trunk/wml2po.sh	2011-09-05 00:36:50 UTC (rev 25024)
@@ -195,6 +195,12 @@
 				svn add "$popath/$pofile"
 				echo "$popath/$pofile" > $tmplog
 			fi
+
+			# Remove po4a comments from download.wml
+			if [ $wmlfile = "download.wml" ]
+			then
+				sed -i 's/PO4ASHARPEND-->//g' "$popath/$pofile"
+			fi
 		fi
 
 		# Update the file with po4a-updatepo to make the
@@ -240,6 +246,12 @@
 			echo "$popath/$pofile" > $tmplog
 		else
 			echo "$popath/$pofile" > $tmplog
+
+			if [ $wmlfile = "download.wml" ]
+			then
+				sed -i 's/PO4ASHARPEND-->//g' "$popath/$pofile"
+			fi
+
 		fi
 	fi
 



More information about the tor-commits mailing list