Revert "get.sh: don't frivolously copy tmp git clones"

This reverts commit b840cf3a83.
This commit is contained in:
Leah Rowe
2025-10-17 22:32:43 +01:00
parent f632b8aed7
commit bec7e6d4cb

View File

@@ -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