diff options
author | Anna Vyalkova <cyber+gentoo@sysrq.in> | 2022-06-04 09:22:13 +0500 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2022-06-29 16:28:04 +0000 |
commit | 16089d5cef7ce3a9f636f22fdd9b2a0dbb373322 (patch) | |
tree | 7e75a9051d802a6767689f8f47cddc63bf7b40d7 | |
parent | scripts/bootstrap-prefix.sh: use BSD stat syntax for OpenBSD (diff) | |
download | prefix-16089d5c.tar.gz prefix-16089d5c.tar.bz2 prefix-16089d5c.zip |
scripts/bootstrap-prefix.sh: fix bash build on OpenBSD
SYS_BASHRC must be a string, not a multi-character constant.
https://lists.gnu.org/archive/html/bug-bash/2022-06/msg00015.html
Signed-off-by: Anna Vyalkova <cyber+gentoo@sysrq.in>
Signed-off-by: Sam James <sam@gentoo.org>
-rwxr-xr-x | scripts/bootstrap-prefix.sh | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/scripts/bootstrap-prefix.sh b/scripts/bootstrap-prefix.sh index f14872f6d5..1ab204b0e9 100755 --- a/scripts/bootstrap-prefix.sh +++ b/scripts/bootstrap-prefix.sh @@ -959,8 +959,9 @@ bootstrap_gnu() { # contain cruft, bug #650284 [[ ${PN} == "bash" ]] && \ export CPPFLAGS="${CPPFLAGS} \ - -DSYS_BASHRC=\'\"${ROOT}/etc/bash/bashrc\"\' \ - -DSYS_BASH_LOGOUT=\'\"${ROOT}/etc/bash/bash_logout\"\'" + -DSYS_BASHRC=\\\"${ROOT}/etc/bash/bashrc\\\" \ + -DSYS_BASH_LOGOUT=\\\"${ROOT}/etc/bash/bash_logout\\\" \ + " # Don't do ACL stuff on Darwin, especially Darwin9 will make # coreutils completely useless (install failing on everything) |