changeset 13290:979b7d652f73

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.
author Jim Meyering <meyering@redhat.com>
date Fri, 30 Apr 2010 18:17:36 +0200
parents c94ce13bafaf
children 175d7ed26b82
files ChangeLog build-aux/bootstrap
diffstat 2 files changed, 9 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- 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+
--- a/build-aux/bootstrap
+++ b/build-aux/bootstrap
@@ -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 @@
       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 @@
         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)