From 16089d5cef7ce3a9f636f22fdd9b2a0dbb373322 Mon Sep 17 00:00:00 2001 From: Anna Vyalkova Date: Sat, 4 Jun 2022 09:22:13 +0500 Subject: 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 Signed-off-by: Sam James --- scripts/bootstrap-prefix.sh | 5 +++-- 1 file 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) -- cgit v1.2.3-65-gdbad