diff options
Diffstat (limited to 'Frameworks')
-rwxr-xr-x | Frameworks/PostgresKit/Scripts/run-tests.sh | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/Frameworks/PostgresKit/Scripts/run-tests.sh b/Frameworks/PostgresKit/Scripts/run-tests.sh index 73e8292f..3bcb9457 100755 --- a/Frameworks/PostgresKit/Scripts/run-tests.sh +++ b/Frameworks/PostgresKit/Scripts/run-tests.sh @@ -32,6 +32,12 @@ # # More info at <http://code.google.com/p/sequel-pro/> +if [ "${BUILT_PRODUCTS_DIR}x" == 'x' ] +then + echo 'This script should only be run by Xcode. Exiting...' + exit 1 +fi + export PGPASSWORD=pgkit if [ ! -f /Library/PostgreSQL/bin/psql ] |