`gunzip` and `zcat` are shellscripts provided by gzip that redirect to
the `gzip` executable (with flags added for the desired behavior).
Some development tools, such as bitbake from Yocto Linux, sanitize the
PATH to remove `/usr/bin` and `/bin`, but create symlinks for specific
tools into a directory that is in the path ('hosttools' for
Yocto/bitbake). This means that the original executables (gzip, gunzip
zcat) are in the PATH but the new `*-reference` files are not.
Remove the fixups from `gunzip` and `zcat` that exec to `gzip-reference`
directly and instead let them use the `gzip` (which is likely symlinked
to the real `gzip-reference`) directly.
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
Closes: https://github.com/gentoo/gentoo/pull/29104
Signed-off-by: Sam James <sam@gentoo.org>