From 173f0fb249bf0da0e4037ea9a258af64cb83127b Mon Sep 17 00:00:00 2001 From: Horea Christian Date: Tue, 23 May 2023 19:24:05 -0400 Subject: [PATCH] =?UTF-8?q?Allegedly=20safer=20quoting=20style=20as=20per?= =?UTF-8?q?=20shellcheck=20=F0=9F=A4=94?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- cpstage4.sh | 2 +- mkstage4.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/cpstage4.sh b/cpstage4.sh index ff9c1ee..4d9d140 100755 --- a/cpstage4.sh +++ b/cpstage4.sh @@ -130,7 +130,7 @@ then then PORTAGEQ_REPOS=$(portageq get_repos /) for i in ${PORTAGEQ_REPOS}; do - EXCLUDES+=(--exclude=$(portageq get_repo_path / "${i}")/*) + EXCLUDES+=("--exclude="$(portageq get_repo_path / "${i}")/*) done EXCLUDES+=("--exclude=$(portageq distdir)/*") else diff --git a/mkstage4.sh b/mkstage4.sh index 5c85a5f..5348ccf 100755 --- a/mkstage4.sh +++ b/mkstage4.sh @@ -214,7 +214,7 @@ then then PORTAGEQ_REPOS=$(portageq get_repos /) for i in ${PORTAGEQ_REPOS}; do - EXCLUDES+=("--exclude=$(portageq get_repo_path / ${i})/*") + EXCLUDES+=("--exclude="$(portageq get_repo_path / "${i}")/*) done EXCLUDES+=("--exclude=$(portageq distdir)/*") else