Don't touch live filesystem in bash-5.2.15

Rather, uninstall existing bash before bash is built
This commit is contained in:
fosslinux 2024-01-12 22:09:22 +11:00
parent bbe121f382
commit 5b84cdd178
4 changed files with 7 additions and 13 deletions

View file

@ -53,9 +53,5 @@ src_compile() {
src_install() {
install -D bash "${DESTDIR}${PREFIX}/bin/bash"
# Work around weird symlink bug
install bash "${DESTDIR}${PREFIX}/bin/sh"
# Needs special handling b/c is currently running - tar doesn't like this
rm -f "${PREFIX}/bin/bash" "${PREFIX}/bin/sh"
}