From: Erik Nolte Date: Thu, 6 Oct 2011 20:29:54 +0000 (-0600) Subject: Checkout gnulib if the directory is empty. X-Git-Tag: 3.11~5 X-Git-Url: http://git.annexia.org/?a=commitdiff_plain;h=359718fa6c7ff177ef3413552f57a174d7205102;p=febootstrap.git Checkout gnulib if the directory is empty. --- diff --git a/autogen.sh b/autogen.sh index 0afb7ed..fce31bb 100755 --- a/autogen.sh +++ b/autogen.sh @@ -1,5 +1,10 @@ #!/bin/sh - +if [ -z "$(ls gnulib 2>/dev/null)" ] +then + git clone git://git.savannah.gnu.org/gnulib.git +fi + ./gnulib/gnulib-tool --update export AUTOMAKE='automake --foreign --add-missing'