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

Unified Diff: cros_mark_as_stable.py

Issue 3330013: Fix keywords issue (Closed) Base URL: http://git.chromium.org/git/crosutils.git
Patch Set: 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_as_stable.py
diff --git a/cros_mark_as_stable.py b/cros_mark_as_stable.py
index ea35fffa5b3a78faab11206cd84bd4ffc84cbfc2..1525fa7982f469f7fe576f0988e415dbfbbbadc8 100755
--- a/cros_mark_as_stable.py
+++ b/cros_mark_as_stable.py
@@ -211,8 +211,9 @@ class _EBuild(object):
def _FindEBuildPath(cls, package):
"""Static method that returns the full path of an ebuild."""
_Print('Looking for unstable ebuild for %s' % package)
- equery_cmd = 'equery-%s which %s 2> /dev/null' \
- % (gflags.FLAGS.board, package)
+ equery_cmd = (
+ 'ACCEPT_KEYWORDS="x86 arm amd64" equery-%s which %s 2> /dev/null'
+ % (gflags.FLAGS.board, package))
path = _SimpleRunCommand(equery_cmd)
if path:
_Print('Unstable ebuild found at %s' % path)
« 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