diff options
Diffstat (limited to 'Scripts/localize.sh')
-rwxr-xr-x | Scripts/localize.sh | 6 |
1 files changed, 6 insertions, 0 deletions
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) |