diff options
author | RĂ¼diger Timm <rt@openoffice.org> | 2005-01-31 14:54:34 +0000 |
---|---|---|
committer | RĂ¼diger Timm <rt@openoffice.org> | 2005-01-31 14:54:34 +0000 |
commit | 056f0f3cd365b62005098d23d4e40d44af81ffdb (patch) | |
tree | 773204ae106f9b061a9c9a7e159f42975245a4c9 /odk/setsdkenv_unix | |
parent | 7c2e88198a32054cc9b4fc6704da2b5a48eae930 (diff) |
INTEGRATION: CWS sdksample (1.6.2); FILE ADDED
2004/06/10 12:33:55 jsc 1.6.2.2: #26337# improved
2004/06/02 12:53:07 jsc 1.6.2.1: #i26337# use new script files
Diffstat (limited to 'odk/setsdkenv_unix')
-rw-r--r-- | odk/setsdkenv_unix | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/odk/setsdkenv_unix b/odk/setsdkenv_unix new file mode 100644 index 000000000000..e3ae2d5ed4e5 --- /dev/null +++ b/odk/setsdkenv_unix @@ -0,0 +1,25 @@ +#! /bin/sh + +SDKDIRECTORY=`dirname $0` + +# source the prepared environment and start a new shell +if [ -r $SDKDIRECTORY/setsdkenv_unix.sh ] +then + . $SDKDIRECTORY/setsdkenv_unix.sh +else + echo + echo " *********************************************************************" + echo " *" + echo " * Error: You have to configure your SDK environment first" + echo " * before you can use it!" + echo " *" + echo " *********************************************************************" + echo + exit 1 +fi + +"$SHELL" "$@" +echo Shell terminated. + +TERMHEAD=`hostname` +echo "]2;$TERMHEAD" |