mirror of
https://codeberg.org/libreboot/lbmk.git
synced 2026-03-25 13:29:03 +02:00
get.sh: don't frivolously copy tmp git clones
this fixes a regression in a previous patch, this time also taking account for the different cache locations. all of get.sh needs to be purged, and re-written clean. it looks clean. but it's years of hacks. Signed-off-by: Leah Rowe <leah@libreboot.org>
This commit is contained in:
@@ -53,9 +53,11 @@ fetch_project()
|
||||
|
||||
clone_project()
|
||||
{
|
||||
# if loc is blank, don't create a target
|
||||
# directory; just update the caches
|
||||
loc=""
|
||||
loc="$XBMK_CACHE/clone/${url#*://}"
|
||||
if [ "$XBMK_CACHE_MIRROR" = "y" ]; then
|
||||
loc="$XBMK_CACHE/mirror/${url#*://}"
|
||||
fi
|
||||
|
||||
if singletree "$project"; then
|
||||
loc="src/$project"
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user