diff options
Diffstat (limited to 'rules')
-rw-r--r-- | rules/git.mk | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/rules/git.mk b/rules/git.mk index b631f1a..449f726 100644 --- a/rules/git.mk +++ b/rules/git.mk @@ -30,7 +30,7 @@ download-stamp: check-build-dep-stamp unpack-stamp: download-stamp download-stamp: - git clone $(git-url) $(sourcedir) + [ -d $(sourcedir) ] || git clone $(git-url) $(sourcedir) cd $(sourcedir) && git checkout $(git-checkout) touch $@ download: download-stamp |