Allegedly safer quoting style as per shellcheck 🤔

This commit is contained in:
Horea Christian 2023-05-23 19:24:05 -04:00
parent 7cc88f2700
commit 173f0fb249
2 changed files with 2 additions and 2 deletions

View file

@ -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

View file

@ -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