source: release-kits/mark3/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 
[19451]1if [ "$MARK3_HOME" != "" ]; then
2 echo "mark3 envorinment already set up"
3else
[19552]4 home_possibly_relative=`dirname ${BASH_SOURCE:-$0}`
5 export MARK3_HOME="`cd $home_possibly_relative && pwd`"
[19451]6 export ANT_HOME=$MARK3_HOME/core/ant
7 export PATH=$MARK3_HOME/bin:$ANT_HOME/bin:$PATH
8 echo "Done"
9fi
[19552]10
Note: See TracBrowser for help on using the repository browser.