mirror of
https://codeberg.org/libreboot/lbmk.git
synced 2026-07-25 07:46:17 +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:
+5
-3
@@ -53,9 +53,11 @@ fetch_project()
|
|||||||
|
|
||||||
clone_project()
|
clone_project()
|
||||||
{
|
{
|
||||||
# if loc is blank, don't create a target
|
loc="$XBMK_CACHE/clone/${url#*://}"
|
||||||
# directory; just update the caches
|
if [ "$XBMK_CACHE_MIRROR" = "y" ]; then
|
||||||
loc=""
|
loc="$XBMK_CACHE/mirror/${url#*://}"
|
||||||
|
fi
|
||||||
|
|
||||||
if singletree "$project"; then
|
if singletree "$project"; then
|
||||||
loc="src/$project"
|
loc="src/$project"
|
||||||
fi
|
fi
|
||||||
|
|||||||
Reference in New Issue
Block a user