Changeset 8488 for trunk/MagicSoft/Mars


Ignore:
Timestamp:
05/10/07 15:21:38 (18 years ago)
Author:
Daniela Dorner
Message:
*** empty log message ***
Location:
trunk/MagicSoft/Mars
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/Changelog

    r8486 r8488  
    2626   * scripts/merppupdate:
    2727     - added (script to merpp update already calibrated files)
     28     - added possibility to give outpath and regular expression for
     29       filename as command line options
    2830
    2931
  • trunk/MagicSoft/Mars/scripts/merppupdate

    r8487 r8488  
    4040
    4141#regular expression for the filename
    42 name="20*_Y_*E.root"
     42name2=
    4343
    4444if ! [ "$1" = "" ]
     
    4747   if ! [ "$2" = "" ]
    4848   then
    49       name=$2
     49      name2=" -name $2"
    5050      if ! [ "$3" = "" ]
    5151      then
     
    6262fi
    6363
    64 if ! ls $outpath
     64if ! ls $outpath >/dev/null 2>&1
    6565then
    6666   echo "Your outpath is not valid."
     
    6969   
    7070
    71 calfiles=`find $outpath -name '$name'`
     71calfiles=`find $outpath -name 20*_Y_*_E.root $name2 `
    7272
    7373echo "calfiles: "$calfiles
Note: See TracChangeset for help on using the changeset viewer.