diff options
author | Jim Meyering <meyering@redhat.com> | 2012-01-21 18:12:30 +0100 |
---|---|---|
committer | Jim Meyering <meyering@redhat.com> | 2012-01-21 18:12:43 +0100 |
commit | 2f1a477706b06256ddca33739a771e3d97d011f1 (patch) | |
tree | 867f876fb5d0d410ee30d9e5a51eb0ff3ba564a5 /build-aux/bootstrap | |
parent | 6e6b629c836070de0a99cc04fcc957b80195e2e4 (diff) | |
download | gnulib-2f1a477706b06256ddca33739a771e3d97d011f1.tar.gz |
bootstrap: fail when bootstrap_post_import_hook fails
Otherwise, it's far too easy to miss diagnostics emitted
between gnulib-tool's output and that of running configure.
* build-aux/bootstrap: Fail when bootstrap_post_import_hook fails.
Diffstat (limited to 'build-aux/bootstrap')
-rwxr-xr-x | build-aux/bootstrap | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/build-aux/bootstrap b/build-aux/bootstrap index 57202fa6a9..6910abfad4 100755 --- a/build-aux/bootstrap +++ b/build-aux/bootstrap @@ -1,6 +1,6 @@ #! /bin/sh # Print a version string. -scriptversion=2012-01-18.21; # UTC +scriptversion=2012-01-21.16; # UTC # Bootstrap this package from checked-out sources. @@ -807,7 +807,8 @@ for file in $gnulib_files; do symlink_to_dir "$GNULIB_SRCDIR" $file || exit done -bootstrap_post_import_hook +bootstrap_post_import_hook \ + || { echo >&2 "$me: bootstrap_post_import_hook failed"; exit 1; } # Remove any dangling symlink matching "*.m4" or "*.[ch]" in some # gnulib-populated directories. Such .m4 files would cause aclocal to fail. |