From 7c5335f1da2c198cf61276a42f5b2480a13080de Mon Sep 17 00:00:00 2001 From: lotodore Date: Sat, 17 Dec 2011 17:40:39 +0000 Subject: [PATCH] Automatically delete svn directories in Mac build. --- mac_post_make.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/mac_post_make.sh b/mac_post_make.sh index cc9bc82f..4a465c90 100755 --- a/mac_post_make.sh +++ b/mac_post_make.sh @@ -14,12 +14,13 @@ QT_PLUGIN_PATH="/Developer/Applications/Qt/plugins" SDL_FW_PATH="/Library/Frameworks" APPLICATION="./pokerth.app" BINARY="$APPLICATION/Contents/MacOs/pokerth" -RESOURCES="$APPLICATION/Contents/Resources/" +RESOURCES="$APPLICATION/Contents/Resources" # strip binary strip $BINARY -cp -R ./data $RESOURCES +cp -R ./data $RESOURCES/ +find $RESOURCES/data -name ".svn" | xargs rm -Rf # create framework-path BINARY_FW_PATH="$APPLICATION/Contents/Frameworks" mkdir $BINARY_FW_PATH