bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH] bootstrap: don't ignore failure to generate po*/Makevars


From: Jim Meyering
Subject: [PATCH] bootstrap: don't ignore failure to generate po*/Makevars
Date: Fri, 30 Apr 2010 18:22:19 +0200

I noticed that bootstrap would succeed even
if it failed to write either of its po*/Makevars files.
Along the way, I removed a useless sed stdin redirection ("<").

I'll push this shortly:

>From 0c6cf5ab43555377b99d94febb2d6f23fc3d2cb0 Mon Sep 17 00:00:00 2001
From: Jim Meyering <address@hidden>
Date: Fri, 30 Apr 2010 18:17:36 +0200
Subject: [PATCH] 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.
---
 ChangeLog           |    6 ++++++
 build-aux/bootstrap |    6 +++---
 2 files changed, 9 insertions(+), 3 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index c4dc4ea..7023341 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2010-04-30  Jim Meyering  <address@hidden>
+
+       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  <address@hidden>

        headers: relax license to LGPLv2+
diff --git a/build-aux/bootstrap b/build-aux/bootstrap
index 9686baa..e55b3d2 100755
--- 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 @@ 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)
--
1.7.1.328.g9993c




reply via email to

[Prev in Thread] Current Thread [Next in Thread]