diff options
Diffstat (limited to 'm4/xcode_version.m4')
-rw-r--r-- | m4/xcode_version.m4 | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/m4/xcode_version.m4 b/m4/xcode_version.m4 index e59604d6b8..af2916eb1d 100644 --- a/m4/xcode_version.m4 +++ b/m4/xcode_version.m4 @@ -5,7 +5,7 @@ AC_DEFUN([XCODE_VERSION],[ if test "$TargetVendor_CPP" = "apple" then AC_MSG_CHECKING(Xcode version) - XcodeVersion=`(xcode-select -p >& /dev/null && xcodebuild -version) | grep Xcode | sed "s/Xcode //"` + XcodeVersion=`(xcode-select -p > /dev/null 2>&1 && xcodebuild -version) | grep Xcode | sed "s/Xcode //"` # Old Xcode versions don't actually give the Xcode version if test "$XcodeVersion" = "" then |