Skip to content

Commit

Permalink
dev-build/libtool: fix shebang for bash
Browse files Browse the repository at this point in the history
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 <[email protected]>
  • Loading branch information
thesamesam committed Mar 24, 2024
1 parent 0dc7b3c commit c7012f1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion dev-build/libtool/libtool-9999.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit c7012f1

Please sign in to comment.