Changeset e1edff3 for common/common-functions
- Timestamp:
- 03/15/2006 09:50:40 PM (19 years ago)
- Branches:
- experimental
- Children:
- dbf2c71
- Parents:
- 4bf0fc3
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
common/common-functions
r4bf0fc3 re1edff3 721 721 DIR=`echo $1 | sed 's@-doc@@;s@-linuxthreads@@;s@-libidn@@;s@-testsuite@@'` 722 722 723 # If the file exists in the archive copy it to the $BUILDDIR/sources dir 724 # MD5SUM is assumed to be correct from previous download 725 if [ ! -z ${SRC_ARCHIVE} ] && 726 [ -d ${SRC_ARCHIVE} ] && 727 [ -f ${SRC_ARCHIVE}/$2 ]; then 728 cp ${SRC_ARCHIVE}/$2 . 729 echo "$2: -- ok" 730 return 731 fi 732 723 733 # Find the md5 sum for this package. 724 734 if [ $2 != MD5SUMS ] ; then … … 754 764 echo `grep "$MD5" MD5SUMS` >> MD5SUMS-$VERSION 755 765 fi 766 767 # If we make it this far we should copy the freshly downloaded file 768 # to the source archive. 769 if [ ! -z ${SRC_ARCHIVE} ] && 770 [ -d ${SRC_ARCHIVE} ] && 771 [ -w ${SRC_ARCHIVE} ] && 772 [ $2 != MD5SUMS ]; then 773 echo "Store file:<$2> in package archive" 774 cp -v $2 ${SRC_ARCHIVE} 775 fi 776 756 777 } 757 778
Note:
See TracChangeset
for help on using the changeset viewer.