From c1d6cd22c2390c7317b8996f9b993697491c1eab Mon Sep 17 00:00:00 2001 From: Leah Rowe Date: Sat, 4 Oct 2025 22:36:11 +0100 Subject: 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 --- include/vendor.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include/vendor.sh') diff --git a/include/vendor.sh b/include/vendor.sh index a6b9fd27..7fb4d9ea 100644 --- a/include/vendor.sh +++ b/include/vendor.sh @@ -217,7 +217,7 @@ fetch() return 0 fi - x_ mkdir -p "${_dest%/*}" + x_ xbmkdir "${_dest%/*}" if [ "$dl_type" != "fsp" ]; then extract_archive "$_dl" "$appdir" || \ -- cgit v1.2.1