commit: c7012f128a3c04053924fa1e96ed48a1c758fc65
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sun Mar 24 09:05:20 2024 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sun Mar 24 09:06:11 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c7012f12
dev-build/libtool: fix shebang for bash
Always use ${EPREFIX}/bin/bash rather than the current path to bash, so that
we work on both usr-merged and non-usr-merged systems.
Bug: https://bugs.gentoo.org/927662
Closes: https://bugs.gentoo.org/927650
Signed-off-by: Sam James <sam <AT> gentoo.org>
dev-build/libtool/{libtool-2.4.7-r2.ebuild => libtool-2.4.7-r3.ebuild} | 2 +-
dev-build/libtool/libtool-9999.ebuild | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/dev-build/libtool/libtool-2.4.7-r2.ebuild
b/dev-build/libtool/libtool-2.4.7-r3.ebuild
similarity index 98%
rename from dev-build/libtool/libtool-2.4.7-r2.ebuild
rename to dev-build/libtool/libtool-2.4.7-r3.ebuild
index 9aeb0ed28993..75bdf19f6d2a 100644
--- a/dev-build/libtool/libtool-2.4.7-r2.ebuild
+++ b/dev-build/libtool/libtool-2.4.7-r3.ebuild
@@ -98,7 +98,7 @@ src_configure() {
# to find a bash shell. if /bin/sh is bash, it uses that. this can
# cause problems for people who switch /bin/sh on the fly to other
# shells, so just force libtool to use /bin/bash all the time.
- export CONFIG_SHELL="$(type -P bash)"
+ export CONFIG_SHELL="${EPREFIX}"/bin/bash
# Do not bother hardcoding the full path to sed.
# Just rely on $PATH. bug #574550
diff --git a/dev-build/libtool/libtool-9999.ebuild
b/dev-build/libtool/libtool-9999.ebuild
index e5ecf26e0972..033495d8ee02 100644
--- a/dev-build/libtool/libtool-9999.ebuild
+++ b/dev-build/libtool/libtool-9999.ebuild
@@ -96,7 +96,7 @@ src_configure() {
# to find a bash shell. if /bin/sh is bash, it uses that. this can
# cause problems for people who switch /bin/sh on the fly to other
# shells, so just force libtool to use /bin/bash all the time.
- export CONFIG_SHELL="$(type -P bash)"
+ export CONFIG_SHELL="${EPREFIX}"/bin/bash
# Do not bother hardcoding the full path to sed.
# Just rely on $PATH. bug #574550