summaryrefslogtreecommitdiff
path: root/setenv-ios.sh
diff options
context:
space:
mode:
authorJeffrey Walton <noloader@gmail.com>2016-03-21 12:42:10 -0400
committerJeffrey Walton <noloader@gmail.com>2016-03-21 12:42:10 -0400
commitf8396383c017e596d92de11acbfcacc903c8820b (patch)
tree130717e95d567aea1a8c4087ef2dc91a9654a9ee /setenv-ios.sh
parent4a3bd8a01fc36b1b39e8674229296b1674c88011 (diff)
downloadcryptopp-git-f8396383c017e596d92de11acbfcacc903c8820b.tar.gz
Discard xcode-build error when not on an Apple machine
Diffstat (limited to 'setenv-ios.sh')
-rwxr-xr-xsetenv-ios.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/setenv-ios.sh b/setenv-ios.sh
index b9407454..7ba26260 100755
--- a/setenv-ios.sh
+++ b/setenv-ios.sh
@@ -134,7 +134,7 @@ fi
# These sorts of tricks are a required procedure on Apple's gear:
# http://stackoverflow.com/questions/11651773/install-simulator-sdk-4-3-to-xcode-4-4-on-mountain-lion
if [ -z "$XCODE_DEVELOPER" ]; then
- XCODE_DEVELOPER=$(xcode-select -print-path)
+ XCODE_DEVELOPER=$(xcode-select -print-path 2>/dev/null)
fi
if [ ! -d "$XCODE_DEVELOPER" ]; then