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