- Timestamp:
- 05/01/2006 10:26:47 AM (18 years ago)
- Branches:
- 1.0, 2.3, 2.3.x, 2.4, ablfs, ablfs-more, legacy, new_features, trunk
- Children:
- 90ba00e
- Parents:
- 799b0d1
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
common/common-functions
r799b0d1 r6ca2943 653 653 IFS=$'\x0A' # Modify the 'internal field separator' to break on 'LF' only 654 654 for line in `cat urls.lst`; do 655 656 655 IFS=$saveIFS # Restore the system defaults 656 657 # Skip some packages if they aren't needed 658 case $line in 659 */tcl* | */expect* | */dejagnu* | */tree* | */gcc-testsuite* ) 660 [[ "$TEST" = "0" ]] && continue 661 ;; 662 */vim-*-lang* ) 663 [[ "$VIMLANG" = "0" ]] && continue 664 ;; 665 esac 666 657 667 URL1=`echo $line | cut -d" " -f1` # Upstream URL 658 668 URL2=`echo $line | cut -d" " -f2` # Fallback URL … … 685 695 686 696 if ! echo "$MD5" | md5sum -c - ; then 687 exit 1 697 echo "${RED}$FILE not match MD5SUMS value${OFF}" 698 echo "$FILE not match MD5SUMS value" >> MISSING_FILES.DMP 688 699 fi 689 700 echo `grep "$MD5" MD5SUMS` >> MD5SUMS-$VERSION … … 701 712 done 702 713 714 if [[ -s MISSING_FILES.DMP ]]; then 715 echo -e "\n\n${tab_}${RED} One or more files were not retrieved or have a bad MD5SUMS chechsum.\n${tab_} Check ${L_arrow}$BUILDDIR/sources/MISSING_FILES.DMP${R_arrow} for names ${OFF}\n\n" 716 fi 717 703 718 fi 704 719 }
Note:
See TracChangeset
for help on using the changeset viewer.