aboutsummaryrefslogtreecommitdiff
path: root/MacOSX-Framework
diff options
context:
space:
mode:
authorxiangbin li <lxbdanny@gmail.com>2015-10-25 12:35:16 +0100
committerDaniel Stenberg <daniel@haxx.se>2015-10-25 12:35:49 +0100
commitca20ca54b20d5d0acd6b8b464f9c3ecdbdb8f8a0 (patch)
tree678875947279edb9717efd161d4b8fca16322479 /MacOSX-Framework
parentd9a1776b323f2a000da9cf5a6b9ba1eda58b80e2 (diff)
MacOSX-Framework: sdk regex fix for sdk 10.10 and later
closes #507
Diffstat (limited to 'MacOSX-Framework')
-rwxr-xr-xMacOSX-Framework2
1 files changed, 1 insertions, 1 deletions
diff --git a/MacOSX-Framework b/MacOSX-Framework
index 6251bff2e..19b338f1d 100755
--- a/MacOSX-Framework
+++ b/MacOSX-Framework
@@ -65,7 +65,7 @@ else
ARCHES64='-arch x86_64'
#We "know" that 10.4 and earlier do not support 64bit
OLD_SDK64=`ls $SDK_PATH|egrep -v "10.[0-4]"|head -1`
- NEW_SDK64=`ls -r $SDK_PATH|egrep -v "10.[0-4]"|head -1`
+ NEW_SDK64=`ls -r $SDK_PATH|egrep -v "10.[0-4][^0-9]" | head -1`
if test $USE_OLD -gt 0
then
SDK64=$OLD_SDK64