Remove all usage of @BASH@ or ${BASH} in installed files, and hardcode /bin/bash...
commit5188a9d0265cc6f7235a8af1d31ab02e4a24853d
authorRomain GEISSLER <romain.geissler@amadeus.com>
Wed, 12 May 2021 02:15:33 +0000 (12 07:45 +0530)
committerSiddhesh Poyarekar <siddhesh@sourceware.org>
Wed, 12 May 2021 02:17:11 +0000 (12 07:47 +0530)
tree048496f1c8a02ab8db081ee3f016be726514a39f
parentfec776b827755a0aac17a0745bc38c2329aad5ca
Remove all usage of @BASH@ or ${BASH} in installed files, and hardcode /bin/bash instead

(FYI, this is a repost of
https://sourceware.org/pipermail/libc-alpha/2019-July/105035.html now
that FSF papers have been signed and confirmed on FSF side).

This trivial patch attemps to fix BZ 24106. Basically the bash locally
used when building glibc on the host shall not leak on the installed
glibc, as the system where it is installed might be different and use
another bash location.

So I have looked for all occurences of @BASH@ or $(BASH) in installed
files, and replaced it by /bin/bash. This was suggested by Florian
Weimer in the bug report.

Reviewed-by: Siddhesh Poyarekar <siddhesh@sourceware.org>
debug/Makefile
debug/xtrace.sh
elf/Makefile
elf/ldd.bash.in
elf/sotruss.sh
malloc/Makefile
malloc/memusage.sh
timezone/Makefile