buildsystem: switch rm -fr to rm -rf for consistency/OCD

This commit is contained in:
MilhouseVH 2019-02-22 20:08:42 +00:00
parent 00cc78ea68
commit 3f3395fdf4
2 changed files with 3 additions and 3 deletions

View File

@ -144,7 +144,7 @@ start_multithread_build() {
local singlethread buildopts
# init thread control folder
rm -fr "${THREAD_CONTROL}"
rm -rf "${THREAD_CONTROL}"
mkdir -p "${THREAD_CONTROL}/locks"
echo -1 >"${THREAD_CONTROL}/progress.prev"
echo 0 >"${THREAD_CONTROL}/progress"

View File

@ -54,7 +54,7 @@ if [ -d "$SOURCES/${PKG_NAME}" -o -d "$PKG_DIR/sources" ]; then
# unpack into a unique location as unpacking into a single ${BUILD} directory is not thread-safe
PKG_UNPACK_DIR="${BUILD}/.unpack/${PKG_NAME}"
rm -fr "${PKG_UNPACK_DIR}"
rm -rf "${PKG_UNPACK_DIR}"
mkdir -p "${PKG_UNPACK_DIR}"
pkg_call_exists pre_unpack && pkg_call pre_unpack
@ -84,7 +84,7 @@ if [ -d "$SOURCES/${PKG_NAME}" -o -d "$PKG_DIR/sources" ]; then
fi
# cleanup
rm -fr "${PKG_UNPACK_DIR}"
rm -rf "${PKG_UNPACK_DIR}"
if [ -d "$PKG_DIR/sources" ]; then
[ ! -d "$PKG_BUILD" ] && mkdir -p "$PKG_BUILD"