diff options
author | Gregory M. Turner <gmturner007@ameritech.net> | 2012-08-31 09:34:02 -0700 |
---|---|---|
committer | Zac Medico <zmedico@gentoo.org> | 2012-08-31 09:34:02 -0700 |
commit | 821fe40222e75ba08e5456577321fa5d1f12e69a (patch) | |
tree | 7accc048b074c0840183875512c6718c7b12fa36 /cnf/logrotate.d | |
parent | e7e4c3720582a7ab938266e50e53d162f5248488 (diff) | |
download | portage-821fe40222e75ba08e5456577321fa5d1f12e69a.tar.gz portage-821fe40222e75ba08e5456577321fa5d1f12e69a.tar.bz2 portage-821fe40222e75ba08e5456577321fa5d1f12e69a.zip |
portageq: clarify meaning of uses_root
o s/uses_root/uses_eroot/g -- This name was chosen
before its meaning was changed; update it to reflect its purporse.
o Fix a left-over "<root>" arg-doc that never got updated to "<eroot>"
o If a provided eroot argument was shorter than the ${EPREFIX}, portageq
was truncating it down to nothing and activating relative root,
which means this became equivalent to an explicit argument of
"${PWD}/${EPREFIX}/". This is obviously wrong; and a simple case
of failing to sanity-check inputs from an interface that changed in a
backward-incompatible way.
There's no provision in portageq to query EROOT's that don't end in
${EPREFIX}; so if the user makes such a request, instead of doing
something pathological, dump a helpful error message and bail with
a nonzero exit code.
Signed-off-by: Gregory M. Turner <gmturner007@ameritech.net>
Diffstat (limited to 'cnf/logrotate.d')
0 files changed, 0 insertions, 0 deletions