diff options
Diffstat (limited to 'build-aux/bootstrap')
-rwxr-xr-x | build-aux/bootstrap | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/build-aux/bootstrap b/build-aux/bootstrap index 8c10572..d4f223d 100755 --- a/build-aux/bootstrap +++ b/build-aux/bootstrap | |||
@@ -67,7 +67,13 @@ update_po() { | |||
67 | *) POFILE=${1}.po;; | 67 | *) POFILE=${1}.po;; |
68 | esac | 68 | esac |
69 | echo "$0: getting translation for $1..." | 69 | echo "$0: getting translation for $1..." |
70 | wget -r -C off $TP_URL/$POFILE | 70 | (cd po; |
71 | wget -r --cache=off -O $POFILE $TP_URL/$POFILE || exit | ||
72 | LANG=`expr $POFILE : '\(.*\)\.po'` | ||
73 | if ! grep -q $LANG LINGUAS; then | ||
74 | mv LINGUAS LINGUAS.$$ | ||
75 | (echo $LANG; cat LINGUAS.$$) | sort > LINGUAS | ||
76 | fi) | ||
71 | else | 77 | else |
72 | echo "$0: getting translations into po..." | 78 | echo "$0: getting translations into po..." |
73 | (cd po && | 79 | (cd po && |