Kerin Millar 028a9bb68a sys-fs/ncdu: refrain from using compgen to locate zig
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>
2023-06-27 17:02:55 +02:00
2023-06-27 10:24:46 +02:00
2023-06-25 20:35:06 +03:00
2023-06-27 11:40:27 +02:00
2023-06-27 11:40:25 +02:00
2023-06-27 15:34:20 +02:00
2023-06-24 23:35:40 +02:00
2023-06-27 07:24:26 +02:00
2023-06-22 15:11:24 +02:00
2023-06-26 17:15:49 -07:00
2023-06-27 09:25:14 +02:00
2023-06-23 02:47:48 +01:00
2023-06-27 15:11:21 +02:00
2023-06-27 14:31:58 +01:00
2023-06-26 21:27:32 -07:00
2023-06-26 09:51:02 -04:00
S
Description
No description provided
9.8 GiB
Languages
Shell 98%
Roff 1.3%
Emacs Lisp 0.2%
C 0.1%