Ignore:
Timestamp:
05/10/07 15:21:38 (17 years ago)
Author:
Daniela Dorner
Message:
*** empty log message ***
File:
1 edited

Legend:

Unmodified
Added
Removed
  • 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.