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

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



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
 

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