maintainer-feedback requested: [Bug 204479] ports-mgmt/pkg use -C config file pathname exactly as given on the command line
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Wed Nov 11 22:50:20 UTC 2015
Ian Lepore <ian at FreeBSD.org> has reassigned Bugzilla Automation
<bugzilla at FreeBSD.org>'s request for maintainer-feedback to pkg at FreeBSD.org:
Bug 204479: ports-mgmt/pkg use -C config file pathname exactly as given on the
command line
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=204479
--- Description ---
Created attachment 163026
--> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=163026&action=edit
patch
Right now, 'pkg -C /some/file -r /some/path' ends up looking for the config
file as /some/path/some/file. Per discussion with Baptiste, this is a bug and
it should use the exact value given on the command line.
The attached patch fixes it to use the exact name from the command line if
given, or to look for the default filename within the rootdir given on the
command line (if any) which is the historical behavior.
More information about the freebsd-pkg
mailing list