From 6ba0ec8b5bd7a88e10dec45c0b058566c0798cc9 Mon Sep 17 00:00:00 2001 From: David James Date: Fri, 30 Mar 2012 17:34:39 -0700 Subject: [PATCH] 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 Reviewed-by: David James Tested-by: David James --- cros_workon | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cros_workon b/cros_workon index 86b7be5350..682198f290 100755 --- a/cros_workon +++ b/cros_workon @@ -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)