From b50b2e537eb4e4fcf22d16f403aa526e7f52d895 Mon Sep 17 00:00:00 2001 From: fewtarius Date: Sat, 17 Jun 2023 01:06:30 +0000 Subject: [PATCH] Another tweak. --- packages/emulators/standalone/gzdoom-sa/zmusic/package.mk | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/packages/emulators/standalone/gzdoom-sa/zmusic/package.mk b/packages/emulators/standalone/gzdoom-sa/zmusic/package.mk index e40ff1577..958cecda4 100644 --- a/packages/emulators/standalone/gzdoom-sa/zmusic/package.mk +++ b/packages/emulators/standalone/gzdoom-sa/zmusic/package.mk @@ -13,6 +13,7 @@ GET_HANDLER_SUPPORT="git" PKG_TOOLCHAIN="cmake-make" make_host() { + [ -d "${PKG_BUILD}/build" ] && rm -rf ${PKG_BUILD}/build mkdir ${PKG_BUILD}/build cd ${PKG_BUILD}/build cmake -DCMAKE_BUILD_TYPE=Release .. @@ -20,7 +21,7 @@ make_host() { } make_target() { - rm -rf ${PKG_BUILD}/build + [ -d "${PKG_BUILD}/build" ] && rm -rf ${PKG_BUILD}/build mkdir ${PKG_BUILD}/build cd ${PKG_BUILD}/build cmake -DCMAKE_BUILD_TYPE=Release ..