summaryrefslogtreecommitdiff
path: root/download
diff options
context:
space:
mode:
Diffstat (limited to 'download')
-rwxr-xr-xdownload4
1 files changed, 2 insertions, 2 deletions
diff --git a/download b/download
index ec3d0fce8c88..5fd996eadd4e 100755
--- a/download
+++ b/download
@@ -34,9 +34,9 @@ fi
# 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
+if [ -d .git ] ; then
if [ -z "$GIT_LINK_SRC" ]; then
- ./g clone
+ ./g -f clone
else
# space-saving clone from another local workdir
mkdir clone