diff options
Diffstat (limited to 'include/get.sh')
| -rw-r--r-- | include/get.sh | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/include/get.sh b/include/get.sh index df7e2312..39161a4a 100644 --- a/include/get.sh +++ b/include/get.sh @@ -19,11 +19,12 @@ tmpgitcache="$xbtmp/tmpgit" fetch_targets() { - if [ ! -d "src/$project/$tree" ]; then - git_prep "$url" "$bkup_url" \ - "$xbmkpwd/$configdir/$tree/patches" \ - "src/$project/$tree" "submod" + if [ -d "src/$project/$tree" ]; then + return 0 fi + + git_prep "$url" "$bkup_url" "$xbmkpwd/$configdir/$tree/patches" \ + "src/$project/$tree" "submod" } fetch_project() |
