From b3cef17561a6a271ecdf6bbd0a359f1dadfbaf0a Mon Sep 17 00:00:00 2001 From: stuconnolly Date: Mon, 25 Oct 2010 10:36:17 +0000 Subject: Update the appropriate build scripts to ensure they are being run by Xcode. --- Scripts/localize.sh | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'Scripts/localize.sh') diff --git a/Scripts/localize.sh b/Scripts/localize.sh index 911cf8ea..e3de6957 100755 --- a/Scripts/localize.sh +++ b/Scripts/localize.sh @@ -9,6 +9,12 @@ ## ## Description: Localizes all of the application's NIB files. This script should 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 + echo "Running genstrings to update 'Localizable.strings'..." # Update 'Localizable.strings' by running genstrings(1) -- cgit v1.2.3