source: trunk/DataCheck/Processing/CheckNewSetup.sh@ 18064

Last change on this file since 18064 was 14832, checked in by Daniela Dorner, 12 years ago
added (script to check consistency of tools for processing)
  • Property svn:executable set to *
File size: 1.1 KB
Line 
1#!/bin/bash
2#
3
4path=/home_nfs/isdc/fact_opr
5oldMars=$path/Mars.von.Thomas.2012.06.19
6newMars=$path/Mars.von.Thomas.2012.06.22
7
8source `dirname $0`/../Sourcefile.sh
9printprocesslog "INFO starting $0"
10
11echo "MARS:"
12echo " old: "$oldMars
13echo " new: "$newMars
14echo " set: "$mars
15echo ""
16echo "SETUP:"
17echo " out: "$datapath
18echo " ROOT: "$ROOTSYS
19echo ""
20echo ""
21echo ""
22echo " OK? (y/n) "
23
24answer=`head -n 1`
25#echo "answer: "$answer
26
27case $answer in
28 y) echo "continue checking files"
29 echo "=== === === === === === === === === === === === === === === === === === === === === === === === === === === === === ==="
30 sleep 1
31 echo ""
32 echo ""
33 ;;
34 n) echo "exit"
35 exit
36 ;;
37 *) echo "invalid answer "$answer
38 echo "exit"
39 exit
40 ;;
41esac
42
43list=( fact/callisto6.C fact/star.C fact/merpp3.C fact/camtemp.C fact/ctrldev.C \
44 fact/magictemp.C fact/fillcalib.C fact/calibrate.C fact/curavg.C \
45 datacenter/macros/buildseqentriesf.C )
46
47
48for tool in ${list[@]}
49do
50 echo "===> checking "$tool
51 diff $oldMars"/"$tool $newMars"/"$tool
52 echo ""
53 echo ""
54 echo ""
55done
56
Note: See TracBrowser for help on using the repository browser.