summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorErik Nolte <erik_nolte@acm.org>2011-10-06 14:29:54 -0600
committerRichard W.M. Jones <rjones@redhat.com>2011-10-14 10:40:45 +0100
commit359718fa6c7ff177ef3413552f57a174d7205102 (patch)
treef7cd88a3e9f197297ba6a7641156e7d68ea6b630
parent6d9051df32b90c6a4fe6ca1ff9e771b7dfe004fa (diff)
downloadfebootstrap-359718fa6c7ff177ef3413552f57a174d7205102.zip
febootstrap-359718fa6c7ff177ef3413552f57a174d7205102.tar.gz
febootstrap-359718fa6c7ff177ef3413552f57a174d7205102.tar.xz
Checkout gnulib if the directory is empty.
-rwxr-xr-xautogen.sh5
1 files changed, 5 insertions, 0 deletions
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'