summaryrefslogtreecommitdiff
path: root/include/get.sh
diff options
context:
space:
mode:
authorLeah Rowe <leah@libreboot.org>2026-09-13 14:50:41 +0100
committerLeah Rowe <leah@libreboot.org>2026-09-13 14:50:41 +0100
commit1a9b211368930ecee259cf0fbd25686c4ebc8924 (patch)
tree82c8f5f502fcd184ca117187e7a02c83157ca771 /include/get.sh
parente9e33d4b4d6c7d2fc48f667c9f19ab710203228d (diff)
xbmk: remove xbmkdir()
pointless function. literally pointless. it is literally the most pointless function ever written in the history of functions. literally pointless in every possible way. Signed-off-by: Leah Rowe <leah@libreboot.org>
Diffstat (limited to 'include/get.sh')
-rw-r--r--include/get.sh8
1 files changed, 4 insertions, 4 deletions
diff --git a/include/get.sh b/include/get.sh
index f7d45686..2a9d182b 100644
--- a/include/get.sh
+++ b/include/get.sh
@@ -71,7 +71,7 @@ git_prep()
fi
[ "$_loc" != "${_loc%/*}" ] && \
- x_ xbmkdir "${_loc%/*}"
+ x_ mkdir -p "${_loc%/*}"
x_ mv "$tmpgit" "$_loc"
}
@@ -138,7 +138,7 @@ try_fetch_git()
cached="$cached/${1#*://}"
cached="$XBMK_CACHE/$cached"
- x_ xbmkdir "${5%/*}" "${cached%/*}"
+ x_ mkdir -p "${5%/*}" "${cached%/*}"
try_$2 "$cached" "$@" || \
return 1
@@ -164,7 +164,7 @@ try_fetch_curl()
cached="file/$6"
cached="$XBMK_CACHE/$cached"
- x_ xbmkdir "${5%/*}" "${cached%/*}"
+ x_ mkdir -p "${5%/*}" "${cached%/*}"
if bad_checksum "$6" "$cached" 2>/dev/null; then
x_ rm -f "$cached"
@@ -226,7 +226,7 @@ try_git()
( x_ git clone "$2" "$tmpgitcache" ) || return 1
fi
- x_ xbmkdir "${gitdest%/*}"
+ x_ mkdir -p "${gitdest%/*}"
x_ mv "$tmpgitcache" "$gitdest"
fi