aboutsummaryrefslogtreecommitdiffstats
path: root/Scripts/build.sh
diff options
context:
space:
mode:
authorstuconnolly <stuart02@gmail.com>2010-10-25 10:36:17 +0000
committerstuconnolly <stuart02@gmail.com>2010-10-25 10:36:17 +0000
commitb3cef17561a6a271ecdf6bbd0a359f1dadfbaf0a (patch)
tree8abd5c59a6ec7c02a14164b9e890f03ef8d3a907 /Scripts/build.sh
parent4225c12ba967f91efb136adc63a4400422b01708 (diff)
downloadsequelpro-b3cef17561a6a271ecdf6bbd0a359f1dadfbaf0a.tar.gz
sequelpro-b3cef17561a6a271ecdf6bbd0a359f1dadfbaf0a.tar.bz2
sequelpro-b3cef17561a6a271ecdf6bbd0a359f1dadfbaf0a.zip
Update the appropriate build scripts to ensure they are being run by Xcode.
Diffstat (limited to 'Scripts/build.sh')
-rwxr-xr-xScripts/build.sh6
1 files changed, 6 insertions, 0 deletions
diff --git a/Scripts/build.sh b/Scripts/build.sh
index 149705cb..2e48dacc 100755
--- a/Scripts/build.sh
+++ b/Scripts/build.sh
@@ -11,6 +11,12 @@
## into Xcode's 'Run Scripts' build phase to make it easier to work with. As such this script
## can only be run by Xcode.
+if [ "${BUILT_PRODUCTS_DIR}x" == 'x' ]
+then
+ echo 'This script should only be run by Xcode. Exiting...'
+ exit 1
+fi
+
BUILD_PRODUCT="${BUILT_PRODUCTS_DIR}/${TARGET_NAME}${WRAPPER_SUFFIX}"
echo 'Updating build version...'