diff options
author | Norbert Thiebaud <nthiebaud@gmail.com> | 2010-12-05 00:47:51 -0600 |
---|---|---|
committer | Norbert Thiebaud <nthiebaud@gmail.com> | 2010-12-05 19:10:02 -0600 |
commit | b13a0c0cc390db74adc9160ec2b88af75dcdae16 (patch) | |
tree | e14abe8d2c90afad8ae01e62d2e9d17618d41c33 /download | |
parent | 090d023b002cb7929372982044ae0efd12a6d968 (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-x | download | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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 |