diff options
author | Jim Meyering <meyering@redhat.com> | 2010-05-26 11:32:56 +0200 |
---|---|---|
committer | Jim Meyering <meyering@redhat.com> | 2010-05-26 12:04:36 +0200 |
commit | c5bf4e515c46fc2427cb4476ad13c7da333892fa (patch) | |
tree | 4da5439a314352e338df649bd511628aa9f1fb73 /bootstrap | |
parent | bd5754769fa6435a0166192ca1cca531c500694b (diff) | |
download | parted-c5bf4e515c46fc2427cb4476ad13c7da333892fa.tar.gz |
maint: update helper scripts
* tests/help-version: Update from coreutils.
* bootstrap: Update from gnulib.
* tests/init.sh: Likewise.
Diffstat (limited to 'bootstrap')
-rwxr-xr-x | bootstrap | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -1,6 +1,6 @@ #! /bin/sh # Print a version string. -scriptversion=2010-04-30.16; # UTC +scriptversion=2010-05-17.18; # UTC # Bootstrap this package from checked-out sources. @@ -409,6 +409,7 @@ git_modules_config () { } gnulib_path=`git_modules_config submodule.gnulib.path` +: ${gnulib_path=gnulib} # Get gnulib files. @@ -424,7 +425,8 @@ case ${GNULIB_SRCDIR--} in trap cleanup_gnulib 1 2 13 15 - git clone -h|grep -- --depth > /dev/null && shallow='--depth 2' || shallow= + shallow= + git clone -h 2>&1 | grep -- --depth > /dev/null && shallow='--depth 2' git clone $shallow git://git.sv.gnu.org/gnulib "$gnulib_path" || cleanup_gnulib |