mirror of
https://github.com/flatcar/scripts.git
synced 2025-09-26 16:11:56 +02:00
Update cros_workon to use repo list instead of repo forall.
repo list is a little faster and is more idiomatic. BUG=chromium-os:5932, chromium-os:6126 TEST=Make sure cros_workon info --all and cros_workon info kernel still work Change-Id: I61dfdc8a00669e88b90298f7c990a497b61c174a Reviewed-on: http://gerrit.chromium.org/gerrit/877 Reviewed-by: Zdenek Behan <zbehan@chromium.org> Tested-by: David James <davidjames@chromium.org>
This commit is contained in:
parent
0d6b945771
commit
965983e68d
@ -131,7 +131,7 @@ show_project_ebuild_map() {
|
|||||||
show_project_path_map() {
|
show_project_path_map() {
|
||||||
# Column 1: Repo name
|
# Column 1: Repo name
|
||||||
# Column 2: Source directory
|
# Column 2: Source directory
|
||||||
repo forall -c 'echo $REPO_PROJECT $REPO_PATH'
|
repo list | awk -F ' : ' '{ print $2, $1 }'
|
||||||
}
|
}
|
||||||
|
|
||||||
show_workon_ebuilds() {
|
show_workon_ebuilds() {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user