[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


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=204479

            Bug ID: 204479
           Summary: ports-mgmt/pkg use -C config file pathname exactly as
                    given on the command line
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: Individual Port(s)
          Assignee: pkg at FreeBSD.org
          Reporter: ian at FreeBSD.org
             Flags: maintainer-feedback?(pkg at FreeBSD.org)
          Assignee: pkg at FreeBSD.org

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.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-ports-bugs mailing list