commit: e1aa6894580cd3c71f21adc3ff667c5223fc9a4c
Author: Fabian Groffen <grobian <AT> gentoo <DOT> org>
AuthorDate: Sat Mar 30 13:16:09 2024 +0000
Commit: Fabian Groffen <grobian <AT> gentoo <DOT> org>
CommitDate: Sat Mar 30 13:16:09 2024 +0000
URL: https://gitweb.gentoo.org/repo/proj/prefix.git/commit/?id=e1aa6894
scripts/bootstrap-prefix: fix econf after shellconf
CONFIG_SHELL may be unset, so only quote it, when it is, leave it unset
otherwise
Signed-off-by: Fabian Groffen <grobian <AT> gentoo.org>
scripts/bootstrap-prefix.sh | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/scripts/bootstrap-prefix.sh b/scripts/bootstrap-prefix.sh
index d58d58175d..0ef1aefa3b 100755
--- a/scripts/bootstrap-prefix.sh
+++ b/scripts/bootstrap-prefix.sh
@@ -25,7 +25,7 @@ v() { echo "$@"; "$@"; }
econf() {
estatus "stage1: configuring ${PWD##*/}"
- v "${CONFIG_SHELL}" ./configure \
+ v ${CONFIG_SHELL:+"${CONFIG_SHELL}"} ./configure \
--host="${CHOST}" \
--prefix="${ROOT}"/tmp/usr \
--mandir="${ROOT}"/tmp/usr/share/man \