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

Unified Diff: lib/cros_build_lib.py

Issue 6691047: Merge MVP script into cbuildbot. (Closed) Base URL: http://git.chromium.org/git/chromite.git@master
Patch Set: Rename debug args to dry_run. Raja said 'too generic' Created 9 years, 8 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
« buildbot/manifest_version.py ('K') | « buildbot/manifest_version_unittest.py ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/cros_build_lib.py
diff --git a/lib/cros_build_lib.py b/lib/cros_build_lib.py
index 8728fe3fb734b99ba3738c5520935e42200a92c2..f7ea5e9c332397e8b639f1e1407f13ed8efdc22c 100644
--- a/lib/cros_build_lib.py
+++ b/lib/cros_build_lib.py
@@ -95,7 +95,10 @@ def RunCommand(cmd, print_cmd=True, error_ok=False, error_message=None,
# Print out the command before running.
if print_cmd:
- Info('RunCommand: %s' % cmd_str)
+ if cwd:
+ Info('RunCommand: %s in %s' % (cmd_str, cwd))
+ else:
+ Info('RunCommand: %s' % cmd_str)
cmd_result.cmd = cmd
try:
« buildbot/manifest_version.py ('K') | « buildbot/manifest_version_unittest.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698