summaryrefslogtreecommitdiff
path: root/script/vendor/download
diff options
context:
space:
mode:
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"