Ignore:
Timestamp:
08/02/08 12:11:21 (16 years ago)
Author:
tbretz
Message:
*** empty log message ***
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/datacenter/scripts/dbchk

    r9047 r9068  
    8989do
    9090   sequence=`echo $file | sed -e "s/^.*\/sequence0\+\([0-9]\+\)\.txt$/\1/"`
    91    if [ "$sequence" = "" ]
     91   if [ "$sequence" = "" ] || [ "$sequence" = "$file" ]
    9292   then
    9393      echo "No sequence file: $file" >> $scriptlog 2>&1
     
    9595      continue
    9696   fi
    97   
     97 
    9898   var=`echo SELECT fSequenceFirst FROM Sequences WHERE fSequenceFirst=$sequence | mymysql`
    9999   if ! [ "$sequence" = "$var" ]
     
    111111do
    112112   sequence=`echo $dir | sed -e "s/^.*\/0\+\([0-9]\+\)$/\1/"`
    113    if [ "$sequence" = "" ]
     113   if [ "$sequence" = "" ] || [ "$sequence" = "$dir" ]
    114114   then
    115115      echo "Invalid directory: $dir" >> $scriptlog 2>&1
     
    133133do
    134134   sequence=`echo $dir | sed -e "s/^.*\/0\+\([0-9]\+\)$/\1/"`
    135    if [ "$sequence" = "" ]
     135   if [ "$sequence" = "" ] || [ "$sequence" = "$dir" ]
    136136   then
    137137      echo "Invalid directory: $dir" >> $scriptlog 2>&1
Note: See TracChangeset for help on using the changeset viewer.