| Summary: | ports-mgmt/pkg use -C config file pathname exactly as given on the command line | ||||||
|---|---|---|---|---|---|---|---|
| Product: | Ports & Packages | Reporter: | Ian Lepore <ian> | ||||
| Component: | Individual Port(s) | Assignee: | Baptiste Daroussin <bapt> | ||||
| Status: | Closed FIXED | ||||||
| Severity: | Affects Some People | Keywords: | patch | ||||
| Priority: | --- | Flags: | bugzilla:
maintainer-feedback?
(pkg) |
||||
| Version: | Latest | ||||||
| Hardware: | Any | ||||||
| OS: | Any | ||||||
| Attachments: |
|
||||||
commit in pkg git, will be in pkg 1.6.2, thanks |
Created attachment 163026 [details] 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.