From e37beca85e6ec96e0ae4ec37ae91f1ce6fb10c56 Mon Sep 17 00:00:00 2001 From: Your Name Date: Wed, 28 May 2025 16:51:10 +1200 Subject: [PATCH] :-'Generic Commit' --- dropshell-build/dropshell-build.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/dropshell-build/dropshell-build.sh b/dropshell-build/dropshell-build.sh index 0046c21..022ac2a 100755 --- a/dropshell-build/dropshell-build.sh +++ b/dropshell-build/dropshell-build.sh @@ -199,7 +199,9 @@ function build_arch() { ninja -j"${JOBS}" upx "${ARCH_BUILD_DIR}/${EXECUTABLE_NAME}" - mkdir -p "${OUTPUT_DIR}/${ARCH}" + if [ ! -d "${OUTPUT_DIR}" ]; then + mkdir -p "${OUTPUT_DIR}" + fi cp "${ARCH_BUILD_DIR}/${EXECUTABLE_NAME}" "${OUTPUT_DIR}/${EXECUTABLE_NAME}.${ARCH}" cd "${PREVDIR}" || exit 1