summaryrefslogtreecommitdiff
path: root/download
diff options
context:
space:
mode:
authorNorbert Thiebaud <nthiebaud@gmail.com>2010-12-05 00:47:51 -0600
committerNorbert Thiebaud <nthiebaud@gmail.com>2010-12-05 19:10:02 -0600
commitb13a0c0cc390db74adc9160ec2b88af75dcdae16 (patch)
treee14abe8d2c90afad8ae01e62d2e9d17618d41c33 /download
parent090d023b002cb7929372982044ae0efd12a6d968 (diff)
download do g clone even if ./clone exist, to pick up changes in repo-list
repo-list can chage due to an autogen and/or a previous clone may have been incomplete.
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