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: |