Changeset 9068 for trunk/MagicSoft/Mars/datacenter
- Timestamp:
- 08/02/08 12:11:21 (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/datacenter/scripts/dbchk
r9047 r9068 89 89 do 90 90 sequence=`echo $file | sed -e "s/^.*\/sequence0\+\([0-9]\+\)\.txt$/\1/"` 91 if [ "$sequence" = "" ] 91 if [ "$sequence" = "" ] || [ "$sequence" = "$file" ] 92 92 then 93 93 echo "No sequence file: $file" >> $scriptlog 2>&1 … … 95 95 continue 96 96 fi 97 97 98 98 var=`echo SELECT fSequenceFirst FROM Sequences WHERE fSequenceFirst=$sequence | mymysql` 99 99 if ! [ "$sequence" = "$var" ] … … 111 111 do 112 112 sequence=`echo $dir | sed -e "s/^.*\/0\+\([0-9]\+\)$/\1/"` 113 if [ "$sequence" = "" ] 113 if [ "$sequence" = "" ] || [ "$sequence" = "$dir" ] 114 114 then 115 115 echo "Invalid directory: $dir" >> $scriptlog 2>&1 … … 133 133 do 134 134 sequence=`echo $dir | sed -e "s/^.*\/0\+\([0-9]\+\)$/\1/"` 135 if [ "$sequence" = "" ] 135 if [ "$sequence" = "" ] || [ "$sequence" = "$dir" ] 136 136 then 137 137 echo "Invalid directory: $dir" >> $scriptlog 2>&1
Note:
See TracChangeset
for help on using the changeset viewer.