Don't assume / seperator between site name and dist file in fetch.
This commit is contained in:
parent
f09f3ae83b
commit
ad0fa3cbbf
@ -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 \
|
||||
|
Loading…
Reference in New Issue
Block a user