Runa A. Sandvik

Runa A. Sandvik commited on 2011-09-05 02:36:50
Zeige 1 geänderte Dateien mit 12 Einfügungen und 0 Löschungen.

... ...
@@ -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
 
246 258