diff options
author | Pavel Raiskup <praiskup@redhat.com> | 2019-03-22 13:05:53 +0100 |
---|---|---|
committer | Pavel Raiskup <praiskup@redhat.com> | 2019-03-22 13:10:05 +0100 |
commit | b9b44533fbf7c7752ffd255c3d09cc360e24183b (patch) | |
tree | 6dcd7842a823c2ce8708915087a9fb84c1dc48c7 /bootstrap | |
parent | 544fc0e2c2a03129a540aebef41ad32bfb5c06b8 (diff) | |
download | libtool-b9b44533fbf7c7752ffd255c3d09cc360e24183b.tar.gz |
bootstrap: use $gnulib_clone_since
* bootstrap.conf: Add $gnulib_clone_since.
* gl-mod/bootstrap: Update to the latest git hash.
* bootstrap: Regenerate.
Diffstat (limited to 'bootstrap')
-rwxr-xr-x | bootstrap | 10 |
1 files changed, 7 insertions, 3 deletions
@@ -160,6 +160,9 @@ gnulib_non_module_files=" gnulib_path= gnulib_url= +# Date from which to clone github, to avoid a full clone. +gnulib_clone_since= + # Additional gnulib-tool options to use. gnulib_tool_options=" --no-changelog @@ -2822,7 +2825,7 @@ test extract-trace = "$progname" && func_main "$@" # End: # Set a version string for *this* script. -scriptversion=2019-02-19.15; # UTC +scriptversion=2019-03-22.11; # UTC ## ------------------- ## @@ -4217,8 +4220,9 @@ func_require_gnulib_submodule () trap func_cleanup_gnulib 1 2 13 15 shallow= - $GIT clone -h 2>&1 |func_grep_q -- --depth \ - && shallow='--depth 365' + test -n "$gnulib_clone_since" && \ + $GIT clone -h 2>&1 |func_grep_q -- --shallow-since \ + && shallow="--shallow-since=$gnulib_clone_since" func_show_eval "$GIT clone $shallow '$gnulib_url' '$gnulib_path'" \ func_cleanup_gnulib |