Mercurial > hg > octave-lyh > gnulib-hg
changeset 16305:c6c975da2f28
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.
author | Jim Meyering <meyering@redhat.com> |
---|---|
date | Sat, 21 Jan 2012 18:12:30 +0100 |
parents | b46de88b5e8b |
children | 78e1216a8ee3 |
files | ChangeLog build-aux/bootstrap |
diffstat | 2 files changed, 10 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +2012-01-21 Jim Meyering <meyering@redhat.com> + + 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. + 2012-01-17 Jim Meyering <meyering@redhat.com> maint: enable sc_trailing_blank
--- 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 @@ 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.