summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLeah Rowe <leah@libreboot.org>2025-05-02 07:26:17 +0100
committerLeah Rowe <leah@libreboot.org>2025-05-05 12:18:22 +0100
commitd1d1285e9c3ae9d2ed7af1c873c0126bf541223e (patch)
treec9662b3ad01a63762bcea24bc55682a91067505f
parent4c9c8dd7fa285783a4a04a0d137d43073515e83b (diff)
lib.sh: simplify remkdir()
Signed-off-by: Leah Rowe <leah@libreboot.org>
-rw-r--r--include/lib.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/lib.sh b/include/lib.sh
index f5007c7d..59676150 100644
--- a/include/lib.sh
+++ b/include/lib.sh
@@ -9,8 +9,8 @@ rmodtool="elf/cbfstool/default/rmodtool"
remkdir()
{
- rm -Rf "$1" || $err "remkdir: !rm -Rf \"$1\""
- mkdir -p "$1" || $err "remkdir: !mkdir -p \"$1\""
+ x_ rm -Rf "$1"
+ x_ mkdir -p "$1"
}
mkrom_tarball()