Changeset 585794e for common


Ignore:
Timestamp:
05/02/2006 12:16:37 PM (18 years ago)
Author:
George Boudreau <georgeb@…>
Branches:
1.0, 2.3, 2.3.x, 2.4, ablfs, ablfs-more, legacy, new_features, trunk
Children:
9c43643
Parents:
8de111f
Message:

corrected traces in download function, was showing false failures

File:
1 edited

Legend:

Unmodified
Added
Removed
  • common/common-functions

    r8de111f r585794e  
    690690
    691691      if [ ! -f $FILE ] ; then
    692         wget $URL1 || wget $URL2 || \
    693         echo "${RED}$FILE not found on the servers${OFF}"
    694         echo "$FILE not found on the servers" >> MISSING_FILES.DMP
     692        wget $URL1 || wget $URL2 || (echo "${RED}$FILE not found on the servers${OFF}" &&
     693                                     echo "$FILE not found on the servers 1" >> MISSING_FILES.DMP )
    695694      elif [[ "$NOMD5" != "1" ]] && ! echo "$MD5" | md5sum -c - ; then
    696         wget -N $URL1 || wget -N $URL2 || \
    697         echo "${RED}$FILE not found on the servers${OFF}"
    698         echo "$FILE not found on the servers" >> MISSING_FILES.DMP
     695        wget -N $URL1 || wget -N $URL2 || ( echo "${RED}$FILE not found on the servers${OFF}" &&
     696                                            echo "$FILE not found on the servers 2" >> MISSING_FILES.DMP )
    699697      fi
    700698
Note: See TracChangeset for help on using the changeset viewer.