]> Savannah Git Hosting - gnulib.git/commitdiff
bootstrap: exit immediately upon gnulib-tool failure
authorPádraig Brady <P@draigBrady.com>
Tue, 3 Feb 2015 03:55:48 +0000 (03:55 +0000)
committerPádraig Brady <P@draigBrady.com>
Tue, 3 Feb 2015 10:34:18 +0000 (10:34 +0000)
* build-aux/bootstrap: Exit immediately if gnulib-tool fails.
This was noticed when gnulib-tool exited early due to failure
to apply a patch in coreutils at http://hydra.nixos.org/eval/1172233,
but various confusing errors were then given as the build proceeded.

ChangeLog
build-aux/bootstrap

index 7fdb00a6f4acf7489647889978f343ee2c55f37c..103fd4963575278ee17cb37680dba577b93d3ecd 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,11 @@
+2015-02-03  Pádraig Brady  <P@draigBrady.com>
+
+       bootstrap: exit immediately upon gnulib-tool failure
+       * build-aux/bootstrap: Exit immediately if gnulib-tool fails.
+       This was noticed when gnulib-tool exited early due to failure
+       to apply a patch in coreutils at http://hydra.nixos.org/eval/1172233,
+       but various confusing errors were then given as the build proceeded.
+
 2015-02-02  Andreas Gruenbacher  <agruen@gnu.org>
 
        symlinkat: include all required header files
index 2fdf267473bdae320c2c260df0e6f50127790929..e72894c15c9c98a2517b78f88c0ad5de5c75ed65 100755 (executable)
@@ -915,7 +915,8 @@ if test $use_libtool = 1; then
   esac
 fi
 echo "$0: $gnulib_tool $gnulib_tool_options --import ..."
-$gnulib_tool $gnulib_tool_options --import $gnulib_modules &&
+$gnulib_tool $gnulib_tool_options --import $gnulib_modules \
+  || die "gnulib-tool failed"
 
 for file in $gnulib_files; do
   symlink_to_dir "$GNULIB_SRCDIR" $file \