Ignore:
Timestamp:
04/04/12 12:41:46 (13 years ago)
Author:
Daniela Dorner
Message:
removed things which belong into setup files
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/DataCheck/Sourcefile.sh

    r13036 r13302  
    11#!/bin/bash
    2 
    3 # data paths
    4 auxdata=/data00/fact-construction/aux
    5 rawdata=/data00/fact-construction/raw
    6 rawdata_for_sed=$(printf "%s\n" "$rawdata" | sed 's/[][\.*^$(){}?+|/]/\\&/g')
    7 ziprawdata=/loc_data/zipraw
    8 ziprawdata_for_sed=$(printf "%s\n" "$ziprawdata" | sed 's/[][\.*^$(){}?+|/]/\\&/g')
    9 
    10 # setup to use ftools
    11 export HEADAS=/opt/heasoft-6.11/x86_64-unknown-linux-gnu-libc2.13-0/
    12 export HEADASPROMPT=/dev/null
    13 
    14 # software versions
    15 #export factpath=/home/fact/SW.automatic.processing/FACT++.2012.01.25
    16 export mars=~/Mars.von.Thomas.2012.03.07
    17 
    18 export AUTOMATIONSETUP="isdc.fact"
    19 #export SOURCEFILEPATH=`dirname/datacenter/scripts
    20 
    21 #source $SOURCEFILEPATH/sourcefile
    22 
    23 #   Author(s): Daniela Dorner  05/2005 <mailto:dorner@astro.uni-wuerzburg.de>
    24 #
    25 #   Copyright: MAGIC Software Development, 2000-2010
    26 #
    27 #
    28 # ========================================================================
    29 #
    30 # This a resource file for the scripts, in which the standard paths and
    31 # functions, which are needed more often are stored.
    32 # Only constant variables are stored here, changing variables are stored
    33 # in datacenter/scripts/setup
    34 #
    352
    363# to treat aliases in bash-script correctly
     
    6128source $SOURCEFILEPATH/../Setup/setup.$AUTOMATIONSETUP
    6229
     30if [ "$mars" = "" ]
     31then
     32   echo "Please set the path for MARS."
     33   exit
     34fi
     35
    6336datetime=`date +%F-%H-%M-%S`
    6437
     
    6942   if [ ! -d $@ ]
    7043   then
    71       mkdir -pv $@
     44      if [ "$processlog" = "" ]
     45      then
     46         mkdir -p $@
     47      else
     48         mkdir -pv $@
     49      fi
    7250      if [ ! -d $@ ]
    7351      then
Note: See TracChangeset for help on using the changeset viewer.