| 1 | #!/bin/sh
|
|---|
| 2 | #
|
|---|
| 3 | # ========================================================================
|
|---|
| 4 | #
|
|---|
| 5 | # *
|
|---|
| 6 | # * This file is part of MARS, the MAGIC Analysis and Reconstruction
|
|---|
| 7 | # * Software. It is distributed to you in the hope that it can be a useful
|
|---|
| 8 | # * and timesaving tool in analysing Data of imaging Cerenkov telescopes.
|
|---|
| 9 | # * It is distributed WITHOUT ANY WARRANTY.
|
|---|
| 10 | # *
|
|---|
| 11 | # * Permission to use, copy, modify and distribute this software and its
|
|---|
| 12 | # * documentation for any purpose is hereby granted without fee,
|
|---|
| 13 | # * provided that the above copyright notice appear in all copies and
|
|---|
| 14 | # * that both that copyright notice and this permission notice appear
|
|---|
| 15 | # * in supporting documentation. It is provided "as is" without express
|
|---|
| 16 | # * or implied warranty.
|
|---|
| 17 | # *
|
|---|
| 18 | #
|
|---|
| 19 | #
|
|---|
| 20 | # Author(s): Daniela Dorner 05/2005 <mailto:dorner@astro.uni-wuerzburg.de>
|
|---|
| 21 | #
|
|---|
| 22 | # Copyright: MAGIC Software Development, 2000-2004
|
|---|
| 23 | #
|
|---|
| 24 | #
|
|---|
| 25 | # ========================================================================
|
|---|
| 26 | #
|
|---|
| 27 | #
|
|---|
| 28 |
|
|---|
| 29 | export ROOTSYS=/opt/root_v4.04.02
|
|---|
| 30 | export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$ROOTSYS/lib
|
|---|
| 31 | export PATH=$PATH:$ROOTSYS/bin
|
|---|
| 32 |
|
|---|
| 33 | mars=/home/operator/Mars
|
|---|
| 34 | macrospath=$mars/datacenter/macros
|
|---|
| 35 | scriptspath=$mars/datacenter/scripts
|
|---|
| 36 |
|
|---|
| 37 | logpath=/magic/datacenter/autologs
|
|---|
| 38 | lockpath=/magic/datacenter/locks
|
|---|
| 39 | listpath=/magic/datacenter/lists
|
|---|
| 40 | setuppath=/magic/datacenter/setup
|
|---|
| 41 |
|
|---|
| 42 | datapath=/magic/data
|
|---|
| 43 | subsystempath=/magic/subsystemdata
|
|---|
| 44 | sequpath=/magic/sequences
|
|---|
| 45 | datasetpath=/magic/datasets
|
|---|
| 46 |
|
|---|
| 47 |
|
|---|
| 48 | function makedir()
|
|---|
| 49 | {
|
|---|
| 50 | if [ ! -d $@ ]
|
|---|
| 51 | then
|
|---|
| 52 | mkdir -pv $@
|
|---|
| 53 | if [ ! -d $@ ]
|
|---|
| 54 | then
|
|---|
| 55 | echo "could not make dir "$@
|
|---|
| 56 | exit
|
|---|
| 57 | fi
|
|---|
| 58 | fi
|
|---|
| 59 | }
|
|---|