From 67be3fad872fafb992432c5ebb218dd598dbf659 Mon Sep 17 00:00:00 2001 From: kris Date: Sat, 2 Nov 2002 04:01:54 +0000 Subject: Read FTP url from ${ftpurl}. Remove hack to fetch perl package into the bindist now that it is no longer required. --- Tools/portbuild/scripts/mkbindist | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) (limited to 'Tools/portbuild') diff --git a/Tools/portbuild/scripts/mkbindist b/Tools/portbuild/scripts/mkbindist index 8a262d8..c76bd98 100755 --- a/Tools/portbuild/scripts/mkbindist +++ b/Tools/portbuild/scripts/mkbindist @@ -34,11 +34,12 @@ mkdir -p ${tmpdir} # FTP the snapshot tarball chunks if required if [ "${ftp}" != 0 ]; then + cd ${here} rm -rf bindist/ftp mkdir -p bindist/ftp cd bindist/ftp for i in ${ftpdists}; do - /usr/bin/ftp -a "ftp://${ftpserver}/pub/FreeBSD/snapshots/${arch}/${rel}/$i.??" + /usr/bin/ftp -a "ftp://${ftpserver}/${ftpurl}/${rel}/$i.??" done cd ${here} fi @@ -69,13 +70,6 @@ rm -rf $(cat ${here}/bindist/delete) mkdir -p $(cat ${here}/bindist/dirlist) (cd ${here}/bindist/files; find -dx . | cpio -dump ${tmpdir}) -# Prepare needed packages -mkdir ${tmpdir}/packages -if [ "$branch" = 5 ]; then - cd ${tmpdir}/packages - fetch ftp://${ftpsite}/pub/FreeBSD/ports/${arch}/packages-5-current/Latest/perl.tbz -fi - # Post-processing of installed world date '+%Y%m%d' > var/db/port.mkversion -- cgit v1.1