From 3f2592016d8cc68382595f4ece6e7102b7154013 Mon Sep 17 00:00:00 2001 From: YuukiARIA Date: Mon, 26 Oct 2015 01:41:44 +0900 Subject: [PATCH] Delete existing LambdaMagica.app before building --- Lambda/build-mac-app.sh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Lambda/build-mac-app.sh b/Lambda/build-mac-app.sh index 3ab2f35..ccc2c38 100755 --- a/Lambda/build-mac-app.sh +++ b/Lambda/build-mac-app.sh @@ -11,6 +11,11 @@ fi OUTPUT_DIR=${CD}/product APP_ROOT=${OUTPUT_DIR}/LambdaMagica.app +if [ -e ${APP_ROOT} ]; then + echo "Deleting existing ${APP_ROOT}" + rm -r ${APP_ROOT} +fi + CONTENTS=${APP_ROOT}/Contents EXECUTABLE=${CONTENTS}/MacOS/run.sh