Files
gentoo/dev-build/libtool
Eli Schwartz 411f7e1060 dev-build/libtool: simplify defining tool names to their basename
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>
2024-03-29 02:28:22 +00:00
..
…