diff options
author | 2024-04-05 13:44:19 +0200 | |
---|---|---|
committer | 2024-04-05 13:45:39 +0200 | |
commit | bb9c656be46db918063c92c09391a1c952cea61d (patch) | |
tree | 485d4fa63e64155cd416466f325beffbf5f63335 | |
parent | sys-devel/binutils-config: remove duplicate -L and -rpath entries (diff) | |
download | prefix-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-x | scripts/auto-bootstraps/dobootstrap | 14 |
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} |