mirror of
https://github.com/moparisthebest/wget
synced 2024-07-03 16:38:41 -04:00
[svn] Improved robustness of update_po_files.sh.
This commit is contained in:
parent
854a7fae35
commit
e0b0949fa8
@ -1,7 +1,13 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
#cd po
|
|
||||||
for i in *.po
|
for i in *.po
|
||||||
do
|
do
|
||||||
wget http://www.iro.umontreal.ca/translation/maint/wget/$i -O $i
|
mv $i $i.old
|
||||||
|
|
||||||
|
wget http://www.iro.umontreal.ca/translation/maint/wget/$i
|
||||||
|
|
||||||
|
if test -f $i
|
||||||
|
then
|
||||||
|
rm -f $i.old
|
||||||
|
fi
|
||||||
done
|
done
|
||||||
|
Loading…
Reference in New Issue
Block a user