source: release-kits/lirk2/setup.bash@ 19552

Last change on this file since 19552 was 19552, checked in by oranfry, 15 years ago

use name 'setup.bash' as setup.sh seems to be a bad choice (some sort of reserved name), and allow the scripts to be sourced from anywhere

File size: 293 bytes
RevLine 
[19448]1if [ "$LIRK2_HOME" != "" ]; then
2 echo "lirk2 envorinment already set up"
3else
[19552]4 home_possibly_relative=`dirname ${BASH_SOURCE:-$0}`
5 export LIRK2_HOME="`cd $home_possibly_relative && pwd`"
[19448]6 export ANT_HOME=$LIRK2_HOME/core/ant
7 export PATH=$LIRK2_HOME/bin:$ANT_HOME/bin:$PATH
8 echo "Done"
9fi
[19552]10
Note: See TracBrowser for help on using the repository browser.