tech-pkg archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: PKG_PATH with trailing /

On Mon, Feb 27, 2012 at 09:30:47AM -0500, Jan Schaumann wrote:
> It appears that at the moment pkg_add(1) requires the PKG_PATH variable
> to not end in a /.  However, it seems to me like a common user "mistake"
> to include the trailing slash.  The resulting error message is not
> entirely unreasonable:

Actually, it's more problematic. There are other cases like
ftp://foo/bar//baz that will fail with the same. Your patch doesn't work
either, since PKG_PATH can have more than one entry.


Home | Main Index | Thread Index | Old Index