mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-11-09 18:47:16 -08:00
028a9bb68a31af8a43d2c1ce49fbbf3735a978e9
The availability of the compgen builtin depends on whether bash was
compiled with --enable-readline. As such, it is sensible to avoid it in
scripts intended for non-interactive shells.
Though it would have been straightforward to mimic the behaviour of
compgen -c, let's just search ${BROOT}/usr/bin instead. From what I can
gather, both dev-lang/zig and dev-lang/zig-bin install a (versioned)
symlink to /usr/bin, with there being no apparent need to search
elsewhere.
While at it, address an error of logic whereby ZIG_VER was defined as
the value of ver, rather than selected_ver.
Closes: https://bugs.gentoo.org/909163
Signed-off-by: Kerin Millar <kfm@plushkava.net>
Signed-off-by: Florian Schmaus <flow@gentoo.org>
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
Description
No description provided
9.8 GiB
Languages
Shell
98%
Roff
1.3%
Emacs Lisp
0.2%
C
0.1%