diff options
author | Leah Rowe <leah@libreboot.org> | 2025-10-17 22:32:43 +0100 |
---|---|---|
committer | Leah Rowe <leah@libreboot.org> | 2025-10-17 22:32:43 +0100 |
commit | bec7e6d4cbbb47afb26980056d8f46fc8e4f992c (patch) | |
tree | 47ef11ea8028978527a47e3f302b26f53e624b48 /include/get.sh | |
parent | f632b8aed7cff03f513c750f4a8ec515ed3fbba6 (diff) |
Revert "get.sh: don't frivolously copy tmp git clones"
This reverts commit b840cf3a832de815a87d9d10b698eec97aceb342.
Diffstat (limited to 'include/get.sh')
-rw-r--r-- | include/get.sh | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/include/get.sh b/include/get.sh index 959bdd6e..e3e4c311 100644 --- a/include/get.sh +++ b/include/get.sh @@ -53,11 +53,9 @@ fetch_project() clone_project() { - loc="$XBMK_CACHE/clone/${url#*://}" - if [ "$XBMK_CACHE_MIRROR" = "y" ]; then - loc="$XBMK_CACHE/mirror/${url#*://}" - fi - + # if loc is blank, don't create a target + # directory; just update the caches + loc="" if singletree "$project"; then loc="src/$project" fi |