Ignore:
Timestamp:
01/31/12 14:29:37 (13 years ago)
Author:
Daniela Dorner
Message:
added option to use sourcefile also from other path
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Mars/datacenter/scripts/setup.lp.fact

    r12608 r12799  
    7171
    7272# get paths for mars, macros and scripts
    73 mars=`dirname $0 | sed -e 's/\/datacenter\/scripts//'`
     73#   in case the variable is not yet set
     74if [ "$mars" == "" ]
     75then
     76  mars=`dirname $0 | sed -e 's/\/datacenter\/scripts//'`
     77fi
    7478macrospath=$mars/datacenter/macros
    7579scriptspath=$mars/datacenter/scripts
Note: See TracChangeset for help on using the changeset viewer.