diff options
| author | Leah Rowe <leah@libreboot.org> | 2026-09-13 14:50:41 +0100 |
|---|---|---|
| committer | Leah Rowe <leah@libreboot.org> | 2026-09-13 14:50:41 +0100 |
| commit | 1a9b211368930ecee259cf0fbd25686c4ebc8924 (patch) | |
| tree | 82c8f5f502fcd184ca117187e7a02c83157ca771 /include/lib.sh | |
| parent | e9e33d4b4d6c7d2fc48f667c9f19ab710203228d (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/lib.sh')
| -rw-r--r-- | include/lib.sh | 13 |
1 files changed, 2 insertions, 11 deletions
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_() |
