From 0ae40b406993966610b31b8166c64065a8792d4c Mon Sep 17 00:00:00 2001 From: "Dirk Hohndel (Intel)" Date: Tue, 2 Jun 2015 10:43:13 -0700 Subject: Build script: remove Subsurface.app before building on Mac The make install step otherwise will give some odd warnings as it tries to adjust things from build to deploy. Signed-off-by: Dirk Hohndel (Intel) --- scripts/build.sh | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'scripts') diff --git a/scripts/build.sh b/scripts/build.sh index 9e510abbd..361e02ca6 100755 --- a/scripts/build.sh +++ b/scripts/build.sh @@ -151,5 +151,9 @@ cmake -DCMAKE_BUILD_TYPE=Debug -DCMAKE_INSTALL_PREFIX=$INSTALL_ROOT .. \ -DMARBLE_LIBRARIES=$INSTALL_ROOT/lib/libssrfmarblewidget.$SH_LIB_EXT \ -DUSE_LIBGIT23_API=1 +if [ $PLATFORM = Darwin ] ; then + rm -rf Subsurface.app +fi + make -j4 make install -- cgit v1.2.3-70-g09d2