Print the command line, not ['Print', 'the', 'command', 'line'].
BUG=skia:
R=borenet@google.com, mtklein@google.com
Author: mtklein@chromium.org
Review URL: https://codereview.chromium.org/521473004
diff --git a/py/utils/shell_utils.py b/py/utils/shell_utils.py
index 37d124b..4068b81 100644
--- a/py/utils/shell_utils.py
+++ b/py/utils/shell_utils.py
@@ -53,7 +53,7 @@
if echo is None:
echo = VERBOSE
if echo:
- print cmd
+ print ' '.join(cmd) if isinstance(cmd, list) else cmd
if 'nt' in os.name:
# Windows has a bad habit of opening a dialog when a console program
# crashes, rather than just letting it crash. Therefore, when a program