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

Last change on this file since 32323 was 23227, checked in by sjm84, 14 years ago

Phase 1 of rearranging the open-office extension

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