mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-11-09 18:47:16 -08:00
Recently a bunch more got added following the original sed style. The
whole thing is incredibly wasteful and difficult to read, however.
- type -P xxx will always return ${path}/xxx or nothing, which includes
failing to fork in low-memory conditions, catastrophically failing the
build, but NOT running "die"
- basename ${path}/xxx will always return "xxx"
We can simply write xxx directly. This is a confusing 2016 hack that
doesn't need to be continued.
Bug: https://bugs.gentoo.org/574550
Signed-off-by: Eli Schwartz <eschwartz93@gmail.com>
Signed-off-by: Sam James <sam@gentoo.org>