source: tags/Mars-V0.9.4.1/datacenter/scripts/sourcefile

Last change on this file was 7233, checked in by Daniela Dorner, 19 years ago
*** empty log message ***
  • Property svn:executable set to *
File size: 1.5 KB
Line 
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
29export ROOTSYS=/opt/root_v4.04.02
30export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$ROOTSYS/lib
31export PATH=$PATH:$ROOTSYS/bin
32
33mars=/home/operator/Mars
34macrospath=$mars/datacenter/macros
35scriptspath=$mars/datacenter/scripts
36
37logpath=/magic/datacenter/autologs
38lockpath=/magic/datacenter/locks
39listpath=/magic/datacenter/lists
40setuppath=/magic/datacenter/setup
41
42datapath=/magic/data
43subsystempath=/magic/subsystemdata
44sequpath=/magic/sequences
45datasetpath=/magic/datasets
46
47
48function 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}
Note: See TracBrowser for help on using the repository browser.