]>
Commit | Line | Data |
---|---|---|
8ec2068a | 1 | #!/bin/bash |
2 | ################################################################# | |
3 | # | |
4 | # Runs the QA histogram viewer in a specified directory | |
5 | # | |
6 | # Origin: Mikolaj Krzewicki, Nikhef, Mikolaj.Krzewicki@cern.ch | |
7 | # | |
8 | ################################################################# | |
9 | cd ~/data/current | |
10 | ls -1tr | |
11 | echo "" | |
12 | read -p " Choose directory from the list above: " dir | |
13 | if [[ -d $dir ]] | |
14 | then | |
15 | cd $dir | |
16 | else | |
17 | echo "no such directory - typo?" | |
18 | return 999 | |
19 | fi | |
20 | ||
21 | aliroot qam.C | |
22 | ||
23 | echo "done" |