summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/git.sh4
1 files changed, 1 insertions, 3 deletions
diff --git a/include/git.sh b/include/git.sh
index af0e8f2a..cc9c2f2a 100644
--- a/include/git.sh
+++ b/include/git.sh
@@ -38,11 +38,10 @@ fetch_project()
clone_project()
{
- loc="$XBMK_CACHE/repo/$project" && singletree "$project" && \
+ loc="$XBMK_CACHE/clone/$project" && singletree "$project" && \
loc="src/$project"
printf "Downloading project '%s' to '%s'\n" "$project" "$loc"
- singletree "$project" || x_ rm -Rf "$loc"
e "$loc" d missing && remkdir "${tmpgit%/*}" && git_prep \
"$url" "$bkup_url" "$xbmkpwd/config/$project/patches" "$loc"; :
}
@@ -144,7 +143,6 @@ try_git()
git -C "$1" remote add backup "$5" 2>/dev/null || :
git -C "$1" fetch --all || :
git -C "$1" pull --all || :
- git -C "$1" pull --all || :
}
bad_checksum()