From bb9c656be46db918063c92c09391a1c952cea61d Mon Sep 17 00:00:00 2001 From: Fabian Groffen Date: Fri, 5 Apr 2024 13:44:19 +0200 Subject: scripts/auto-bootstraps/dobootstrap: unbreak after shellcheck the quoting-eagerness of shellcheck isn't always resulting in the desired output, in this case quoted empty strings broke where they previously would be ignored as whitespace separators Signed-off-by: Fabian Groffen --- scripts/auto-bootstraps/dobootstrap | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/scripts/auto-bootstraps/dobootstrap b/scripts/auto-bootstraps/dobootstrap index f2b670d9b2..b79d42060f 100755 --- a/scripts/auto-bootstraps/dobootstrap +++ b/scripts/auto-bootstraps/dobootstrap @@ -127,20 +127,20 @@ do_prepare() { starttime=${SECONDS} env -i \ HOME="${EPREFIX}" \ - SHELL=/bin/sh \ + SHELL="/bin/sh" \ TERM="${TERM}" \ USER="${USER}" \ CHOST="${chost}" \ EPREFIX="${EPREFIX}" \ - ${GENTOO_MIRRORS+GENTOO_MIRRORS="${GENTOO_MIRRORS}"} \ + ${GENTOO_MIRRORS+GENTOO_MIRRORS=\""${GENTOO_MIRRORS}"\"} \ ${DOLOCAL+DOLOCAL=1} \ ${RESUME+RESUME=1} \ ${LATEST_TREE_YES+LATEST_TREE_YES=1} \ - ${TREE_FROM_SRC+TREE_FROM_SRC=}"${TREE_FROM_SRC}" \ - ${USE_CPU_CORES+USE_CPU_CORES=}"${USE_CPU_CORES}" \ - ${DARWIN_USE_GCC+DARWIN_USE_GCC=}"${DARWIN_USE_GCC}" \ - ${PREFIX_DISABLE_RAP+PREFIX_DISABLE_RAP=}"${PREFIX_DISABLE_RAP}" \ - ${BP_KEEPALIVE_ACTIVE+BP_KEEPALIVE_ACTIVE=}"${BP_KEEPALIVE_ACTIVE}" \ + ${TREE_FROM_SRC+TREE_FROM_SRC="${TREE_FROM_SRC}"} \ + ${USE_CPU_CORES+USE_CPU_CORES="${USE_CPU_CORES}"} \ + ${DARWIN_USE_GCC+DARWIN_USE_GCC="${DARWIN_USE_GCC}"} \ + ${PREFIX_DISABLE_RAP+PREFIX_DISABLE_RAP="${PREFIX_DISABLE_RAP}"} \ + ${BP_KEEPALIVE_ACTIVE+BP_KEEPALIVE_ACTIVE="${BP_KEEPALIVE_ACTIVE}"} \ "${BASH}" "${bootstrapscript}" bootstrap endtime=${SECONDS} -- cgit v1.2.3-65-gdbad