# HG changeset patch # User John W. Eaton # Date 1580138226 18000 # Node ID 626ba7cc1d6caaf2486c876a85843cd9be82053d # Parent 6948260b8fcf2ea387e0622cf9527eaf91c8daf2 update bootstrap script with changes from gnulib version * bootstrap: Update from gnulib version and reapply local changes from changeset 717e3780805c. diff -r 6948260b8fcf -r 626ba7cc1d6c bootstrap --- a/bootstrap Mon Jan 27 10:06:20 2020 -0500 +++ b/bootstrap Mon Jan 27 10:17:06 2020 -0500 @@ -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-2020 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 @@ -166,7 +166,7 @@ # specified directory. Fill in the first %s with the destination # directory and the second with the domain name. po_download_command_format=\ -"wget --mirror --level=1 -nd -q -A.po -P '%s' \ +"wget --mirror --level=1 -nd -nv -A.po -P '%s' \ https://translationproject.org/latest/%s/" # Prefer a non-empty tarname (4th argument of AC_INIT if given), else @@ -968,6 +968,16 @@ 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