#! /bin/sh
# Print a version string.
-scriptversion=2010-04-30.16; # UTC
+scriptversion=2010-05-14.09; # UTC
# Bootstrap this package from checked-out sources.
}
gnulib_path=`git_modules_config submodule.gnulib.path`
+test -n "$gnulib_path" || gnulib_path="gnulib"
# Get gnulib files.
trap cleanup_gnulib 1 2 13 15
- git clone -h|grep -- --depth > /dev/null && shallow='--depth 2' || shallow=
+ git clone 2>&1 -h|grep -- --depth > /dev/null \
+ && shallow='--depth 2'|| shallow=
git clone $shallow git://git.sv.gnu.org/gnulib "$gnulib_path" ||
cleanup_gnulib