summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGiuseppe Scrivano <gscrivano@gnu.org>2010-05-03 22:05:41 +0200
committerJim Meyering <meyering@redhat.com>2010-05-04 07:26:16 +0200
commit4169d4de4a1217df3c44e56e737d8d5c2565e7bb (patch)
tree2f1d8a2b0addc90bae40764357162ea003018658
parentc3561613692e843eaecb45908c0d75c1cc2d3147 (diff)
downloadgnulib-4169d4de4a1217df3c44e56e737d8d5c2565e7bb.tar.gz
bootstrap: don't ignore download_po_files failure
* build-aux/bootstrap (update_po_files): Don't ignore download_po_files failure.
-rw-r--r--ChangeLog6
-rwxr-xr-xbuild-aux/bootstrap2
2 files changed, 7 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 2dcc856ddf..a4396167a2 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2010-05-03 Giuseppe Scrivano <gscrivano@gnu.org>
+
+ bootstrap: don't ignore download_po_files failure
+ * build-aux/bootstrap (update_po_files): Don't ignore download_po_files
+ failure.
+
2010-05-03 Jim Meyering <meyering@redhat.com>
maint.mk: allow to pass options to gendocs.sh
diff --git a/build-aux/bootstrap b/build-aux/bootstrap
index e55b3d225f..a9a778a85e 100755
--- a/build-aux/bootstrap
+++ b/build-aux/bootstrap
@@ -488,7 +488,7 @@ update_po_files() {
test -d $ref_po_dir || mkdir $ref_po_dir || return
download_po_files $ref_po_dir $domain \
&& ls "$ref_po_dir"/*.po 2>/dev/null |
- sed 's|.*/||; s|\.po$||' > "$po_dir/LINGUAS"
+ sed 's|.*/||; s|\.po$||' > "$po_dir/LINGUAS" || return
langs=`cd $ref_po_dir && echo *.po|sed 's/\.po//g'`
test "$langs" = '*' && langs=x