mirror of
https://github.com/flatcar/scripts.git
synced 2026-05-04 11:51:14 +02:00
Merge pull request #375 from marineam/toolchain
toolchain_util: fix parsing emerge --pretend output
This commit is contained in:
commit
e4e847dc10
@ -181,7 +181,7 @@ _get_dependency_list() {
|
||||
|
||||
PORTAGE_CONFIGROOT="$ROOT" emerge "$@" --pretend \
|
||||
--emptytree --root-deps=rdeps --onlydeps --quiet | \
|
||||
sed -e 's/.*\] \([^ :]*\).*/=\1/' |
|
||||
sed -e 's/[^]]*\] \([^ :]*\).*/=\1/' |
|
||||
egrep -v "(=$(echo "${pkgs[*]}")-[0-9])"
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user