mirror of
https://github.com/mirror/wget.git
synced 2025-01-27 12:50:13 +08: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