summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLucio Sauer <watermanpaint@posteo.net>2024-05-10 14:07:16 +0200
committerSam James <sam@gentoo.org>2024-05-11 04:11:51 +0100
commit63aae2a1775e501678290c6dbeac53215decffc2 (patch)
treea4f6051a6cc015062ca36b10ded50be9c39fce9c /completions/epm
parentportageq envvar: preserve PATH to avoid command validation warnings (diff)
downloadgentoo-bashcomp-63aae2a1775e501678290c6dbeac53215decffc2.tar.gz
gentoo-bashcomp-63aae2a1775e501678290c6dbeac53215decffc2.tar.bz2
gentoo-bashcomp-63aae2a1775e501678290c6dbeac53215decffc2.zip
portageq envvar: fix variables selected for completion
With lines like VAR="foo" BAZ="1 2 3", \(.*\)=".*$ not only matches VAR, but also VAR="foo" BAZ. This applies at line ^USE=.*, where the regular USE flags are followed by a list of all present USE_EXPAND variables together with their respective values. The current sed invocation also ignores environment variables that start with a lowercase letter, such as gl_cv_compiler_check_decl_option. Closes: https://bugs.gentoo.org/931671 Signed-off-by: Lucio Sauer <watermanpaint@posteo.net> Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'completions/epm')
0 files changed, 0 insertions, 0 deletions