source: gs2-extensions/open-office/trunk/setup.bash@ 22373

Last change on this file since 22373 was 22373, checked in by davidb, 14 years ago

Improvements to setup.bash

File size: 478 bytes
Line 
1
2extdesc="the Open Office Extension"
3
4full_setup=`pwd`/${BASH_SOURCE}
5fulldir=${full_setup%/*}
6
7if [ "x$GEXT_OPENOFFICE" = "x" ] ; then
8 export GEXT_OPENOFFICE=`pwd`
9
10 export PATH=$GEXT_OPENOFFICE/bin/script:$PATH
11
12 extdir=${GEXTVIDEO##*/}
13
14 if [ "x$GSDLEXTS" = "x" ] ; then
15 export GSDLEXTS=$extdir
16 else
17 export GSDLEXTS=$GSDLEXTS:$extdir
18 fi
19
20
21 echo "+Your environment is now setup for $extdesc"
22else
23 echo "+Your environment is already setup for $extdesc"
24fi
Note: See TracBrowser for help on using the repository browser.