diff --git a/bin/titanium.sh b/bin/titanium.sh index e258cd4..01f382c 100755 --- a/bin/titanium.sh +++ b/bin/titanium.sh @@ -3,7 +3,7 @@ # Utility script to start Titanium Mobile project from the command line. PROJECT_ROOT=${PROJECT_ROOT:-../} APP_DEVICE=${DEVICE_TYPE} -TI_SDK_VERSION=`cat tiapp.xml | grep "" | sed -e "s/<\/*sdk-version>//g"` +TI_SDK_VERSION=`cat tiapp.xml | grep "" | tr -d | sed -e "s/<\/*sdk-version>//g"` TI_SDK_HIGHEST_VERSION=`ls ~/library/Application\ Support/titanium/mobilesdk/osx | tail -1` IOS_SDK_VERSION=`cat tiapp.xml | grep "" | sed -e "s/[ \t]*<\/*ios-version>//g"` TI_DIR="Library/Application Support/Titanium"