mirror of
https://github.com/erenfro/gen2stage4.git
synced 2024-12-22 08:41:06 -05:00
Splitting operation to satisfy shellcheck
This commit is contained in:
parent
fc7c2fe300
commit
acd878fc29
2 changed files with 4 additions and 2 deletions
|
@ -130,7 +130,8 @@ then
|
|||
then
|
||||
PORTAGEQ_REPOS=$(portageq get_repos /)
|
||||
for i in ${PORTAGEQ_REPOS}; do
|
||||
EXCLUDES+=("--exclude=$(portageq get_repo_path / $i)/*")
|
||||
REPO_PATH=$(portageq get_repo_path / "${i}")
|
||||
EXCLUDES+=("--exclude=${REPO_PATH}/*")
|
||||
done
|
||||
EXCLUDES+=("--exclude=$(portageq distdir)/*")
|
||||
else
|
||||
|
|
|
@ -214,7 +214,8 @@ then
|
|||
then
|
||||
PORTAGEQ_REPOS=$(portageq get_repos /)
|
||||
for i in ${PORTAGEQ_REPOS}; do
|
||||
EXCLUDES+=("--exclude="$(portageq get_repo_path / "${i}")/*)
|
||||
REPO_PATH=$(portageq get_repo_path / "${i}")
|
||||
EXCLUDES+=("--exclude=${REPO_PATH}/*")
|
||||
done
|
||||
EXCLUDES+=("--exclude=$(portageq distdir)/*")
|
||||
else
|
||||
|
|
Loading…
Reference in a new issue