From 1a9b211368930ecee259cf0fbd25686c4ebc8924 Mon Sep 17 00:00:00 2001 From: Leah Rowe Date: Sun, 13 Sep 2026 14:50:41 +0100 Subject: 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 --- include/lib.sh | 13 ++----------- 1 file changed, 2 insertions(+), 11 deletions(-) (limited to 'include/lib.sh') diff --git a/include/lib.sh b/include/lib.sh index 8bcfc216..96e4e2f1 100644 --- a/include/lib.sh +++ b/include/lib.sh @@ -59,7 +59,7 @@ mktarball() printf "Creating tar archive '%s' from directory '%s'\n" "$2" "$1" [ "${2%/*}" != "$2" ] && \ - x_ xbmkdir "${2%/*}" + x_ mkdir -p "${2%/*}" x_ tar -c "$1" | xz -T$XBMK_THREADS -9e > "$2" || \ err "can't make tarball '$1'" "mktarball" "$@" @@ -145,16 +145,7 @@ build_sbase() remkdir() { x_ rm -Rf "$@" - x_ xbmkdir "$@" -} - -xbmkdir() -{ - while [ $# -gt 0 ]; do - [ ! -d "$1" ] && \ - x_ mkdir -p "$1" - shift 1 - done + x_ mkdir -p "$@" } fx_() -- cgit v1.2.1