diff options
author | Akim Demaille <akim.demaille@gmail.com> | 2019-01-12 09:05:54 +0100 |
---|---|---|
committer | Akim Demaille <akim.demaille@gmail.com> | 2019-01-12 09:38:57 +0100 |
commit | c314b5509f984b7e9a57a8684d146fd7bc7b0cff (patch) | |
tree | be3bf4e5126a173d7fae32ac00dbe4bdc9413041 /bootstrap | |
parent | f0d7f71a64068f2a0eabcb6b27e9b9a4e19b1af6 (diff) | |
download | bison-c314b5509f984b7e9a57a8684d146fd7bc7b0cff.tar.gz |
gnulib: update
Diffstat (limited to 'bootstrap')
-rwxr-xr-x | bootstrap | 14 |
1 files changed, 12 insertions, 2 deletions
@@ -1,10 +1,10 @@ #! /bin/sh # Print a version string. -scriptversion=2018-10-13.05; # UTC +scriptversion=2019-01-04.17; # UTC # Bootstrap this package from checked-out sources. -# Copyright (C) 2003-2018 Free Software Foundation, Inc. +# Copyright (C) 2003-2019 Free Software Foundation, Inc. # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by @@ -963,6 +963,16 @@ fi bootstrap_post_import_hook \ || die "bootstrap_post_import_hook failed" +# Don't proceed if there are uninitialized submodules. In particular, +# the next step will remove dangling links, which might be links into +# uninitialized submodules. +# +# Uninitialized submodules are listed with an initial dash. +if $use_git && git submodule | grep '^-' >/dev/null; then + die "some git submodules are not initialized. " \ + "Run 'git submodule init' and bootstrap again." +fi + # Remove any dangling symlink matching "*.m4" or "*.[ch]" in some # gnulib-populated directories. Such .m4 files would cause aclocal to fail. # The following requires GNU find 4.2.3 or newer. Considering the usual |