changeset 16369:147029a2a05f

bootstrap: don't exit 0 upon gnulib-tool failure * build-aux/bootstrap (gnulib_tool): If gnulib-tool fails, exit with its exit status, not 0.
author Jim Meyering <meyering@redhat.com>
date Sat, 11 Feb 2012 10:57:28 +0100
parents 5b76eb148934
children 31828b4e43a6
files ChangeLog build-aux/bootstrap
diffstat 2 files changed, 8 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2012-02-11  Jim Meyering  <meyering@redhat.com>
+
+	bootstrap: don't exit 0 upon gnulib-tool failure
+	* build-aux/bootstrap (gnulib_tool): If gnulib-tool fails, exit with
+	its exit status, not 0.
+
 2011-12-19  Reuben Thomas  <rrt@sc3d.org>
 
 	README-release: various improvements
--- a/build-aux/bootstrap
+++ b/build-aux/bootstrap
@@ -1,6 +1,6 @@
 #! /bin/sh
 # Print a version string.
-scriptversion=2012-01-21.16; # UTC
+scriptversion=2012-02-11.09; # UTC
 
 # Bootstrap this package from checked-out sources.
 
@@ -604,7 +604,7 @@
 fi
 
 gnulib_tool=$GNULIB_SRCDIR/gnulib-tool
-<$gnulib_tool || exit
+<$gnulib_tool || exit $?
 
 # Get translations.