openoffice-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From arie...@apache.org
Subject svn commit: r1417863 - /openoffice/trunk/main/odk/setsdkenv_unix
Date Thu, 06 Dec 2012 13:31:21 GMT
Author: arielch
Date: Thu Dec  6 13:31:21 2012
New Revision: 1417863

URL: http://svn.apache.org/viewvc?rev=1417863&view=rev
Log:
odk - Fix reading OOVERSION from settings/dk.mk

Modified:
    openoffice/trunk/main/odk/setsdkenv_unix

Modified: openoffice/trunk/main/odk/setsdkenv_unix
URL: http://svn.apache.org/viewvc/openoffice/trunk/main/odk/setsdkenv_unix?rev=1417863&r1=1417862&r2=1417863&view=diff
==============================================================================
--- openoffice/trunk/main/odk/setsdkenv_unix (original)
+++ openoffice/trunk/main/odk/setsdkenv_unix Thu Dec  6 13:31:21 2012
@@ -25,7 +25,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`



Mime
View raw message