mirror of
https://github.com/erenfro/gen2stage4.git
synced 2024-11-13 02:38:57 -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