diff options
-rwxr-xr-x | odk/config/setsdkenv_unix | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/odk/config/setsdkenv_unix b/odk/config/setsdkenv_unix index 85925feb3c81..10db4dac5a62 100755 --- a/odk/config/setsdkenv_unix +++ b/odk/config/setsdkenv_unix @@ -22,7 +22,7 @@ HOSTNAME=`hostname` CURRENTDIR=`/bin/pwd` SDKTMPDIR=`dirname $0` OO_SDK_HOME=`(cd $SDKTMPDIR && pwd && cd $CURRENTDIR) | head -n 1` -OOVERSION=`cat $OO_SDK_HOME/settings/dk.mk | tail -2 | head -n 1 | cut -d"=" -f2 | cut -d"." -f1,2` +OOVERSION=`cat $OO_SDK_HOME/settings/dk.mk | tail -3 | head -n 1 | cut -d"=" -f2 | cut -d"." -f1,2` if [ "$OSTYPE" = "Darwin" ] then OO_SDK_NAME=`basename $OO_SDK_HOME` |