From 068827678bc69118ac75cfa3ff163e7dbfc05c57 Mon Sep 17 00:00:00 2001 From: "Runa A. Sandvik" Date: Mon, 5 Sep 2011 00:36:50 +0000 Subject: [PATCH] minor fix --- wml2po.sh | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/wml2po.sh b/wml2po.sh index 0c08c23b..796398b9 100755 --- a/wml2po.sh +++ b/wml2po.sh @@ -195,6 +195,12 @@ for file in $wml ; do 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 @@ for file in $wml ; do echo "$popath/$pofile" > $tmplog else echo "$popath/$pofile" > $tmplog + + if [ $wmlfile = "download.wml" ] + then + sed -i 's/PO4ASHARPEND-->//g' "$popath/$pofile" + fi + fi fi