Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 11 Nov 2015 22:50:20 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   [Bug 204479] ports-mgmt/pkg use -C config file pathname exactly as given on the command line
Message-ID:  <bug-204479-13@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
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@FreeBSD.org
          Reporter: ian@FreeBSD.org
             Flags: maintainer-feedback?(pkg@FreeBSD.org)
          Assignee: pkg@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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-204479-13>