Date: Mon, 16 Feb 2009 10:47:07 +0100 From: Michel Talon <talon@lpthe.jussieu.fr> To: freebsd-stable@freebsd.org Subject: Re: Invalid path for portupgrade ftp.FreeBSD.orgpub Message-ID: <20090216094707.GA15055@lpthe.jussieu.fr>
next in thread | raw e-mail | index | archive | help
I think you can access that in the ruby program pkg_fetch
(/usr/local/sbin/pkg_fetch)
in function real_fetch_pkg, i have the following:
$pkg_site_uris.each do |uri_base|
PKG_SUFFIXES.each do |suffix|
uri = uri_base + (subdir + '/' + pkgname + suffix)
path = path_base + suffix
fetch(uri, path) and return path
end
end
Here probably you lack the '/'
--
Michel TALON
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20090216094707.GA15055>
