bootstrap: don't ignore failure to generate po*/Makevars
authorJim Meyering <meyering@redhat.com>
Fri, 30 Apr 2010 16:17:36 +0000 (18:17 +0200)
committerJim Meyering <meyering@redhat.com>
Fri, 30 Apr 2010 16:17:50 +0000 (18:17 +0200)
* build-aux/bootstrap (with_gettext): Don't ignore failure
to create po/Makevars or runtime-po/Makevars.

ChangeLog
build-aux/bootstrap

index c4dc4ea..7023341 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2010-04-30  Jim Meyering  <meyering@redhat.com>
+
+       bootstrap: don't ignore failure to generate po*/Makevars
+       * build-aux/bootstrap (with_gettext): Don't ignore failure
+       to create po/Makevars or runtime-po/Makevars.
+
 2010-04-29  Eric Blake  <eblake@redhat.com>
 
        headers: relax license to LGPLv2+
index 9686baa..e55b3d2 100755 (executable)
@@ -1,6 +1,6 @@
 #! /bin/sh
 # Print a version string.
-scriptversion=2010-02-24.17; # UTC
+scriptversion=2010-04-30.16; # UTC
 
 # Bootstrap this package from checked-out sources.
 
@@ -819,7 +819,7 @@ if test $with_gettext = yes; then
       a\
           '"$XGETTEXT_OPTIONS"' $${end_of_xgettext_options+}
     }
-  ' po/Makevars.template >po/Makevars
+  ' po/Makevars.template >po/Makevars || exit 1
 
   if test -d runtime-po; then
     # Similarly for runtime-po/Makevars, but not quite the same.
@@ -833,7 +833,7 @@ if test $with_gettext = yes; then
         a\
             '"$XGETTEXT_OPTIONS_RUNTIME"' $${end_of_xgettext_options+}
       }
-    ' <po/Makevars.template >runtime-po/Makevars
+    ' po/Makevars.template >runtime-po/Makevars || exit 1
 
     # Copy identical files from po to runtime-po.
     (cd po && cp -p Makefile.in.in *-quot *.header *.sed *.sin ../runtime-po)