1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-14 10:09:48 +00:00

Don't assume / seperator between site name and dist file in fetch.

This commit is contained in:
Jordan K. Hubbard 1994-09-14 15:30:44 +00:00
parent ce72790607
commit bcb015defb
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=2758

View File

@ -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 \