Last change
on this file since 19935 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 |
|
---|
4 | path=/home_nfs/isdc/fact_opr
|
---|
5 | oldMars=$path/Mars.von.Thomas.2012.06.19
|
---|
6 | newMars=$path/Mars.von.Thomas.2012.06.22
|
---|
7 |
|
---|
8 | source `dirname $0`/../Sourcefile.sh
|
---|
9 | printprocesslog "INFO starting $0"
|
---|
10 |
|
---|
11 | echo "MARS:"
|
---|
12 | echo " old: "$oldMars
|
---|
13 | echo " new: "$newMars
|
---|
14 | echo " set: "$mars
|
---|
15 | echo ""
|
---|
16 | echo "SETUP:"
|
---|
17 | echo " out: "$datapath
|
---|
18 | echo " ROOT: "$ROOTSYS
|
---|
19 | echo ""
|
---|
20 | echo ""
|
---|
21 | echo ""
|
---|
22 | echo " OK? (y/n) "
|
---|
23 |
|
---|
24 | answer=`head -n 1`
|
---|
25 | #echo "answer: "$answer
|
---|
26 |
|
---|
27 | case $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 | ;;
|
---|
41 | esac
|
---|
42 |
|
---|
43 | list=( 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 |
|
---|
48 | for tool in ${list[@]}
|
---|
49 | do
|
---|
50 | echo "===> checking "$tool
|
---|
51 | diff $oldMars"/"$tool $newMars"/"$tool
|
---|
52 | echo ""
|
---|
53 | echo ""
|
---|
54 | echo ""
|
---|
55 | done
|
---|
56 |
|
---|
Note:
See
TracBrowser
for help on using the repository browser.