- Timestamp:
- 03/15/2006 09:50:40 PM (18 years ago)
- Branches:
- experimental
- Children:
- dbf2c71
- Parents:
- 4bf0fc3
- Location:
- common
- Files:
-
- 3 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 -
common/config
r4bf0fc3 re1edff3 11 11 #--- Mount point for the build 12 12 BUILDDIR=/mnt/SourceFiles 13 14 #--- The local repository for packages/file 15 # Any downloaded files will be archived here 16 SRC_ARCHIVE=/mnt/SourceFiles/Source_Warehouse 13 17 14 18 #--- Download the source packages 0(no)/1(yes) -
common/func_check_version.sh
r4bf0fc3 re1edff3 42 42 exit 1 43 43 } 44 45 echo -ne "$TXT:\t <${tst_version}>"44 45 echo -ne "$TXT:\t${L_arrow}${BOLD}${tst_version}${OFF}${R_arrow}" 46 46 IFS=".-(" # Split up w.x.y.z as well as w.x.y-rc (catch release candidates) 47 47 set -- $ref_version # set postional parameters to minimum ver values
Note:
See TracChangeset
for help on using the changeset viewer.