summaryrefslogtreecommitdiff
path: root/bootstrap
diff options
context:
space:
mode:
authorJim Meyering <meyering@redhat.com>2010-05-26 11:32:56 +0200
committerJim Meyering <meyering@redhat.com>2010-05-26 12:04:36 +0200
commitc5bf4e515c46fc2427cb4476ad13c7da333892fa (patch)
tree4da5439a314352e338df649bd511628aa9f1fb73 /bootstrap
parentbd5754769fa6435a0166192ca1cca531c500694b (diff)
downloadparted-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-xbootstrap6
1 files changed, 4 insertions, 2 deletions
diff --git a/bootstrap b/bootstrap
index a9a778a..2422549 100755
--- a/bootstrap
+++ b/bootstrap
@@ -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