setsdkenv_unix (a412ed64) setsdkenv_unix (880646fc)
1#! /bin/sh
2# *************************************************************
3#
4# Licensed to the Apache Software Foundation (ASF) under one
5# or more contributor license agreements. See the NOTICE file
6# distributed with this work for additional information
7# regarding copyright ownership. The ASF licenses this file
8# to you under the Apache License, Version 2.0 (the

--- 11 unchanged lines hidden (view full) ---

20#
21# *************************************************************
22
23OSTYPE=`uname -s`
24HOSTNAME=`hostname`
25CURRENTDIR=`/bin/pwd`
26SDKTMPDIR=`dirname $0`
27OO_SDK_HOME=`(cd $SDKTMPDIR && pwd && cd $CURRENTDIR) | head -n 1`
1#! /bin/sh
2# *************************************************************
3#
4# Licensed to the Apache Software Foundation (ASF) under one
5# or more contributor license agreements. See the NOTICE file
6# distributed with this work for additional information
7# regarding copyright ownership. The ASF licenses this file
8# to you under the Apache License, Version 2.0 (the

--- 11 unchanged lines hidden (view full) ---

20#
21# *************************************************************
22
23OSTYPE=`uname -s`
24HOSTNAME=`hostname`
25CURRENTDIR=`/bin/pwd`
26SDKTMPDIR=`dirname $0`
27OO_SDK_HOME=`(cd $SDKTMPDIR && pwd && cd $CURRENTDIR) | head -n 1`
28OOVERSION=`cat $OO_SDK_HOME/settings/dk.mk | tail -2 | head -n 1 | cut -d"=" -f2 | cut -d"." -f1,2`
28OOVERSION=`cat $OO_SDK_HOME/settings/dk.mk | tail -3 | head -n 1 | cut -d"=" -f2 | cut -d"." -f1,2`
29if [ "$OSTYPE" = "Darwin" ]
30then
31 OO_SDK_NAME=`basename $OO_SDK_HOME`
32else
33 OO_SDK_NAME=openoffice.org${OOVERSION}_sdk
34fi
35
36export OO_SDK_HOME

--- 50 unchanged lines hidden ---
29if [ "$OSTYPE" = "Darwin" ]
30then
31 OO_SDK_NAME=`basename $OO_SDK_HOME`
32else
33 OO_SDK_NAME=openoffice.org${OOVERSION}_sdk
34fi
35
36export OO_SDK_HOME

--- 50 unchanged lines hidden ---