bootstrap: don't ignore download_po_files failure
authorGiuseppe Scrivano <gscrivano@gnu.org>
Mon, 3 May 2010 20:05:41 +0000 (22:05 +0200)
committerJim Meyering <meyering@redhat.com>
Tue, 4 May 2010 05:26:16 +0000 (07:26 +0200)
* build-aux/bootstrap (update_po_files): Don't ignore download_po_files
failure.

ChangeLog
build-aux/bootstrap

index 2dcc856..a439616 100644 (file)
--- 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
index e55b3d2..a9a778a 100755 (executable)
@@ -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