mirror of
https://github.com/tpoechtrager/osxcross.git
synced 2024-09-11 08:45:25 +03:00
fix guess_sdk_version() (https://github.com/tpoechtrager/osxcross/issues/10)
This commit is contained in:
parent
22262b617f
commit
84377413a5
2
build.sh
2
build.sh
@ -26,7 +26,7 @@ function guess_sdk_version()
|
||||
exit 1
|
||||
else
|
||||
sdk=`find tarballs/ | grep MacOSX`
|
||||
tmp2=`echo $sdk | sed s/[^0-9.]//g`
|
||||
tmp2=`echo ${sdk/bz2/} | sed s/[^0-9.]//g`
|
||||
tmp3=`echo $tmp2 | sed s/\\\.*$//g`
|
||||
guess_sdk_version_result=$tmp3
|
||||
echo 'found SDK version' $guess_sdk_version_result 'at tarballs/'`basename $sdk`
|
||||
|
Loading…
Reference in New Issue
Block a user