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

next in thread | previous in thread | raw e-mail | index | archive | help
Ian Lepore <ian@FreeBSD.org> has reassigned Bugzilla Automation
<bugzilla@FreeBSD.org>'s request for maintainer-feedback to pkg@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.



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