summaryrefslogtreecommitdiff
path: root/script/vendor/download
diff options
context:
space:
mode:
authorLeah Rowe <leah@libreboot.org>2023-12-22 09:46:43 +0000
committerLeah Rowe <leah@libreboot.org>2023-12-22 10:24:00 +0000
commitab65ea4c99af4f5569496c58b604ada612a2469a (patch)
tree6feb004f23060a471653ad6d1820de6eea91d878 /script/vendor/download
parentfa25414bab5ca9e487bd265f0709e90e41769c69 (diff)
general code cleanup
Signed-off-by: Leah Rowe <leah@libreboot.org>
Diffstat (limited to 'script/vendor/download')
-rwxr-xr-xscript/vendor/download3
1 files changed, 1 insertions, 2 deletions
diff --git a/script/vendor/download b/script/vendor/download
index 736d8cc5..7913b558 100755
--- a/script/vendor/download
+++ b/script/vendor/download
@@ -146,8 +146,7 @@ mkdirs()
return 1
fi
mkdir -p "${1%/*}" || err "mkdirs: !mkdir -p ${1%/*}"
- x_ rm -Rf "${appdir}"
- x_ mkdir -p "${appdir}/"
+ remkdir "${appdir}"
if [ "${is_rom}" = "y" ]; then
cp "${_dl}" "${appdir}" || \
err "mkdirs copyrom ${_dl}: can't copy to appdir"