From ad0fa3cbbf30d1473c2d51a39c4186e2a92a26a4 Mon Sep 17 00:00:00 2001 From: jkh Date: Wed, 14 Sep 1994 15:30:44 +0000 Subject: Don't assume / seperator between site name and dist file in fetch. --- share/mk/bsd.port.mk | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'share/mk') diff --git a/share/mk/bsd.port.mk b/share/mk/bsd.port.mk index 6dd3859..0ed5783 100644 --- a/share/mk/bsd.port.mk +++ b/share/mk/bsd.port.mk @@ -3,7 +3,7 @@ # bsd.port.mk - 940820 Jordan K. Hubbard. # This file is in the public domain. # -# $Id: bsd.port.mk,v 1.35 1994/09/13 06:43:10 jkh Exp $ +# $Id: bsd.port.mk,v 1.36 1994/09/13 08:40:27 jkh Exp $ # # Please view me with 4 column tabs! @@ -125,7 +125,7 @@ PKG_SUFX?= .tgz # I guess we're in the master distribution business! :) As we gain mirror # sites for distfiles, add them to this list. -MASTER_SITES+= ftp://freebsd.cdrom.com/pub/FreeBSD/FreeBSD-current/ports/distfiles +MASTER_SITES+= ftp://freebsd.cdrom.com/pub/FreeBSD/FreeBSD-current/ports/distfiles/ # Derived names so that they're easily overridable. DISTFILES?= ${DISTNAME}${EXTRACT_SUFX} @@ -284,7 +284,7 @@ fetch: pre-fetch echo ">> $$file doesn't seem to exist on this system."; \ echo ">> Attempting to fetch it from a master site."; \ for site in ${MASTER_SITES}; do \ - if ${NCFTP} ${NCFTPFLAGS} $$site/$$file; then \ + if ${NCFTP} ${NCFTPFLAGS} $${site}$${file}; then \ echo ">> $$file Fetched!" ; \ break; \ fi \ -- cgit v1.1