summaryrefslogtreecommitdiff
path: root/include/release.sh
diff options
context:
space:
mode:
authorLeah Rowe <leah@libreboot.org>2025-10-04 22:36:11 +0100
committerLeah Rowe <leah@libreboot.org>2025-10-04 22:42:42 +0100
commitc1d6cd22c2390c7317b8996f9b993697491c1eab (patch)
tree120aebfa5328e7699759a087d15a2fd0aeafc3f7 /include/release.sh
parentf358cfaa55219c537de0eb534997be36cba93f14 (diff)
xbmk: don't call mkdir. use xbmkdir (new function)
xbmkdir checks if a directory exists, before running mkdir, and then still uses -p i was testing xbmk on arch linux today, and noticed that it errored out when a directory already exists. i'm mitigating against buggy or differently behaving mkdir implementations this way, by wrapping around it. Signed-off-by: Leah Rowe <leah@libreboot.org>
Diffstat (limited to 'include/release.sh')
-rw-r--r--include/release.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/release.sh b/include/release.sh
index 35a9c711..339ab3f5 100644
--- a/include/release.sh
+++ b/include/release.sh
@@ -52,7 +52,7 @@ release()
fi
x_ rm -Rf "$rsrc"
- x_ mkdir -p "$reldir"
+ x_ xbmkdir "$reldir"
x_ mv "$vdir" "$reldir"
x_ rm -Rf "${vdir%"/$version"}"