aboutsummaryrefslogtreecommitdiffstats
path: root/Scripts/build-version.pl
diff options
context:
space:
mode:
Diffstat (limited to 'Scripts/build-version.pl')
-rwxr-xr-xScripts/build-version.pl1
1 files changed, 1 insertions, 0 deletions
diff --git a/Scripts/build-version.pl b/Scripts/build-version.pl
index cd56310d..fa12bfdb 100755
--- a/Scripts/build-version.pl
+++ b/Scripts/build-version.pl
@@ -11,6 +11,7 @@
## Subversion revision.
use strict;
+use warnings;
die "$0: Must be run from within Xcode. Exiting..." unless $ENV{"BUILT_PRODUCTS_DIR"};