mirror of
https://github.com/flatcar/scripts.git
synced 2025-09-27 08:31:04 +02:00
Don't unique projects in cros_workon --info.
There may be multiple ebuilds associated with the same project. We therefore should not use -u in the sort command here and eliminate needed ebuilds from the list. BUG=none TEST=cros_workon --all --board=x86-generic | grep autotest (Previously it returned 1 ebuild; now it returns them all.) Change-Id: I2e33090e2ba06e7cfde908a7e142267fbd74198b Reviewed-on: https://gerrit.chromium.org/gerrit/19409 Commit-Ready: David James <davidjames@chromium.org> Reviewed-by: David James <davidjames@chromium.org> Tested-by: David James <davidjames@chromium.org>
This commit is contained in:
parent
bb18db9908
commit
6ba0ec8b5b
@ -150,7 +150,7 @@ show_workon_ebuilds() {
|
||||
show_workon_info() {
|
||||
local atoms="$1"
|
||||
local keyword="$2"
|
||||
local sort="sort -u -k1b,1"
|
||||
local sort="sort -k1b,1"
|
||||
# Column 1: Package name
|
||||
# Column 2: Repo name
|
||||
# Column 3: Source directory (if present locally)
|
||||
|
Loading…
x
Reference in New Issue
Block a user