summaryrefslogtreecommitdiff
path: root/download
diff options
context:
space:
mode:
authorNorbert Thiebaud <nthiebaud@gmail.com>2010-11-28 17:45:45 -0600
committerNorbert Thiebaud <nthiebaud@gmail.com>2010-11-30 20:25:22 -0600
commit4ab516df62353d068e4ebf298d2f4e1df793dbcc (patch)
tree13006266dc176b26a2018fcfc39a8ad36a647eff /download
parentb1b5d92e3d54062d4b2013be4e950ddc6f34b551 (diff)
fix issues when building with the build-repo
Diffstat (limited to 'download')
-rwxr-xr-xdownload5
1 files changed, 4 insertions, 1 deletions
diff --git a/download b/download
index 5482ac9f9427..9ab936f4c49b 100755
--- a/download
+++ b/download
@@ -26,7 +26,10 @@
#
#*************************************************************************
-if [ ! -d clone ] ; then
+# we want to clone if we are in the bootstrap git repo and clone does not exist yet
+# we need to test for a .git in order not to clone after rsync if we are called in
+# the inner autogen of the buid-repo based build
+if [ ! -d clone -a -d .git ] ; then
./g clone
fi
if [ -z "$TARFILE_LOCATION" ]; then