Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2303)

Unified Diff: cros_mark_all_as_stable

Issue 3372002: cros_mark_all_as_stable: mark packages for all architectures, always (Closed) Base URL: ssh://git@gitrw.chromium.org:9222/crosutils.git
Patch Set: Addressed comments Created 10 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cros_mark_all_as_stable
diff --git a/cros_mark_all_as_stable b/cros_mark_all_as_stable
index c46df41c855d46727fcc75155d489f8a8d729db9..e85bb0f94291a826fef9db8d3ad3a01242c4c526 100755
--- a/cros_mark_all_as_stable
+++ b/cros_mark_all_as_stable
@@ -61,9 +61,11 @@ for package in ${PACKAGES}; do
info "${package} blacklisted, skipping"
continue
fi
- ebuild_path=$(${EQUERYCMD} which ${package}) || continue
+ # We need to pick up any stable ebuilds for any platform.
+ ebuild_path=$(ACCEPT_KEYWORDS="arm x86 amd64" ${EQUERYCMD} which ${package})\
+ || continue
# Get 9999 ebuild path to see if it got changed.
- ebuild_9999_path=$(ACCEPT_KEYWORDS=~* ${EQUERYCMD} which ${package}) \
+ ebuild_9999_path=$(ACCEPT_KEYWORDS="~*" ${EQUERYCMD} which ${package}) \
|| continue
# Sets ${CROS_WORKON_SRCDIR} from the ebuild.
eval $(${EBUILDCMD} ${ebuild_path} info) &> /dev/null || continue
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698