Browse code

minor fix

Runa A. Sandvik authored on05/09/2011 02:36:50
Showing1 changed files
... ...
@@ -195,6 +195,12 @@ for file in $wml ; do
195 195
 				svn add "$popath/$pofile"
196 196
 				echo "$popath/$pofile" > $tmplog
197 197
 			fi
198
+
199
+			# Remove po4a comments from download.wml
200
+			if [ $wmlfile = "download.wml" ]
201
+			then
202
+				sed -i 's/PO4ASHARPEND-->//g' "$popath/$pofile"
203
+			fi
198 204
 		fi
199 205
 
200 206
 		# Update the file with po4a-updatepo to make the
... ...
@@ -240,6 +246,12 @@ for file in $wml ; do
240 246
 			echo "$popath/$pofile" > $tmplog
241 247
 		else
242 248
 			echo "$popath/$pofile" > $tmplog
249
+
250
+			if [ $wmlfile = "download.wml" ]
251
+			then
252
+				sed -i 's/PO4ASHARPEND-->//g' "$popath/$pofile"
253
+			fi
254
+
243 255
 		fi
244 256
 	fi
245 257