Changeset 17113 for trunk


Ignore:
Timestamp:
09/06/13 18:07:25 (11 years ago)
Author:
Daniela Dorner
Message:
small update in getdates function to make command line options more inuitive
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/DataCheck/Sourcefile.sh

    r17077 r17113  
    478478      all)
    479479         printprocesslog "DEBUG getdates case 'all'"
    480          dates=( `find -L $ziprawdata -mindepth 3 -type d | sort -r | sed "s/\${ziprawdata_for_sed}//g" | sed -e 's/^\///'` ) #all available dates in /loc_data/zipraw
     480         dates=( `find $auxdata -mindepth 3 -type d | sort -r | sed "s/\${auxdata_for_sed}//g" | sed -e 's/^\///'` )
    481481         ;;
    482482      # certain date
     
    498498            # get current hour
    499499            hour=`date +%k`
    500             if [ $hour -le $3 ] || [ $hour -ge $2 ]
     500            if [ $hour -le $2 ] || [ $hour -ge $3 ]
    501501            then
    502502               dates=( `date +%Y/%m/%d --date="-12hour"` )
Note: See TracChangeset for help on using the changeset viewer.