Changeset 13302 for trunk/DataCheck/Sourcefile.sh
- Timestamp:
- 04/04/12 12:41:46 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/DataCheck/Sourcefile.sh
r13036 r13302 1 1 #!/bin/bash 2 3 # data paths4 auxdata=/data00/fact-construction/aux5 rawdata=/data00/fact-construction/raw6 rawdata_for_sed=$(printf "%s\n" "$rawdata" | sed 's/[][\.*^$(){}?+|/]/\\&/g')7 ziprawdata=/loc_data/zipraw8 ziprawdata_for_sed=$(printf "%s\n" "$ziprawdata" | sed 's/[][\.*^$(){}?+|/]/\\&/g')9 10 # setup to use ftools11 export HEADAS=/opt/heasoft-6.11/x86_64-unknown-linux-gnu-libc2.13-0/12 export HEADASPROMPT=/dev/null13 14 # software versions15 #export factpath=/home/fact/SW.automatic.processing/FACT++.2012.01.2516 export mars=~/Mars.von.Thomas.2012.03.0717 18 export AUTOMATIONSETUP="isdc.fact"19 #export SOURCEFILEPATH=`dirname/datacenter/scripts20 21 #source $SOURCEFILEPATH/sourcefile22 23 # Author(s): Daniela Dorner 05/2005 <mailto:dorner@astro.uni-wuerzburg.de>24 #25 # Copyright: MAGIC Software Development, 2000-201026 #27 #28 # ========================================================================29 #30 # This a resource file for the scripts, in which the standard paths and31 # functions, which are needed more often are stored.32 # Only constant variables are stored here, changing variables are stored33 # in datacenter/scripts/setup34 #35 2 36 3 # to treat aliases in bash-script correctly … … 61 28 source $SOURCEFILEPATH/../Setup/setup.$AUTOMATIONSETUP 62 29 30 if [ "$mars" = "" ] 31 then 32 echo "Please set the path for MARS." 33 exit 34 fi 35 63 36 datetime=`date +%F-%H-%M-%S` 64 37 … … 69 42 if [ ! -d $@ ] 70 43 then 71 mkdir -pv $@ 44 if [ "$processlog" = "" ] 45 then 46 mkdir -p $@ 47 else 48 mkdir -pv $@ 49 fi 72 50 if [ ! -d $@ ] 73 51 then
Note:
See TracChangeset
for help on using the changeset viewer.