mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-28 21:26:49 +00:00
buildsystem: switch rm -fr to rm -rf for consistency/OCD
This commit is contained in:
parent
00cc78ea68
commit
3f3395fdf4
@ -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"
|
||||
|
@ -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"
|
||||
|
Loading…
x
Reference in New Issue
Block a user