X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;ds=sidebyside;f=build-aux%2Fbootstrap;h=2087bab8fc534834a3edb5476fc644fd5abff432;hb=78008cd2e8a58cda0d3c279ba0ee20dbd7598317;hp=0d7668643faad1e5448ccd69a4c0971b5952839e;hpb=e57dfa6b2dfe95f3f5e0747e8e8338b143de864d;p=gnulib.git diff --git a/build-aux/bootstrap b/build-aux/bootstrap index 0d7668643..2087bab8f 100755 --- a/build-aux/bootstrap +++ b/build-aux/bootstrap @@ -262,7 +262,8 @@ case ${GNULIB_SRCDIR--} in trap cleanup_gnulib 1 2 13 15 - git clone --depth 2 git://git.sv.gnu.org/gnulib || + git clone --help|grep depth > /dev/null && shallow='--depth 2' || shallow= + git clone $shallow git://git.sv.gnu.org/gnulib || cleanup_gnulib trap - 1 2 13 15