Changeset 19552

Show
Ignore:
Timestamp:
22.05.2009 11:56:01 (10 years ago)
Author:
oranfry
Message:

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

Location:
release-kits
Files:
4 copied

Legend:

Unmodified
Added
Removed
  • release-kits/lirk2/setup.bash

    r19448 r19552  
    22    echo "lirk2 envorinment already set up" 
    33else 
    4     export LIRK2_HOME=`pwd` 
     4    home_possibly_relative=`dirname ${BASH_SOURCE:-$0}` 
     5    export LIRK2_HOME="`cd $home_possibly_relative && pwd`" 
    56    export ANT_HOME=$LIRK2_HOME/core/ant 
    67    export PATH=$LIRK2_HOME/bin:$ANT_HOME/bin:$PATH 
    78    echo "Done" 
    89fi 
     10 
  • release-kits/lirk3/setup.bash

    r19451 r19552  
    22    echo "lirk3 envorinment already set up" 
    33else 
    4     export LIRK3_HOME=`pwd` 
     4    home_possibly_relative=`dirname ${BASH_SOURCE:-$0}` 
     5    export LIRK3_HOME="`cd $home_possibly_relative && pwd`" 
    56    export ANT_HOME=$LIRK3_HOME/core/ant 
    67    export PATH=$LIRK3_HOME/bin:$ANT_HOME/bin:$PATH 
    78    echo "Done" 
    89fi 
     10 
  • release-kits/mark2/setup.bash

    r19451 r19552  
    22    echo "mark2 envorinment already set up" 
    33else 
    4     export MARK2_HOME=`pwd` 
     4    home_possibly_relative=`dirname ${BASH_SOURCE:-$0}` 
     5    export MARK2_HOME="`cd $home_possibly_relative && pwd`" 
    56    export ANT_HOME=$MARK2_HOME/core/ant 
    67    export PATH=$MARK2_HOME/bin:$ANT_HOME/bin:$PATH 
    78    echo "Done" 
    89fi 
     10 
  • release-kits/mark3/setup.bash

    r19451 r19552  
    22    echo "mark3 envorinment already set up" 
    33else 
    4     export MARK3_HOME=`pwd` 
     4    home_possibly_relative=`dirname ${BASH_SOURCE:-$0}` 
     5    export MARK3_HOME="`cd $home_possibly_relative && pwd`" 
    56    export ANT_HOME=$MARK3_HOME/core/ant 
    67    export PATH=$MARK3_HOME/bin:$ANT_HOME/bin:$PATH 
    78    echo "Done" 
    89fi 
     10