diff options
author | Leah Rowe <leah@libreboot.org> | 2025-05-13 20:47:41 +0100 |
---|---|---|
committer | Leah Rowe <leah@libreboot.org> | 2025-05-13 20:47:41 +0100 |
commit | ed8a33d6fb1c380e70fec881e6a0308cea99333e (patch) | |
tree | 05865bd1a12177d77f58de7b53cce5b331075996 | |
parent | 1ca26c5d238d2acb85e491f949ff7cc369959bd9 (diff) |
git.sh: cleanup
Signed-off-by: Leah Rowe <leah@libreboot.org>
-rw-r--r-- | include/git.sh | 4 |
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() |