summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFabian Groffen <grobian@gentoo.org>2024-04-05 13:44:19 +0200
committerFabian Groffen <grobian@gentoo.org>2024-04-05 13:45:39 +0200
commitbb9c656be46db918063c92c09391a1c952cea61d (patch)
tree485d4fa63e64155cd416466f325beffbf5f63335
parentsys-devel/binutils-config: remove duplicate -L and -rpath entries (diff)
downloadprefix-bb9c656be46db918063c92c09391a1c952cea61d.tar.gz
prefix-bb9c656be46db918063c92c09391a1c952cea61d.tar.bz2
prefix-bb9c656be46db918063c92c09391a1c952cea61d.zip
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 <grobian@gentoo.org>
-rwxr-xr-xscripts/auto-bootstraps/dobootstrap14
1 files 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}