Index: build/android/buildbot/bb_utils.py |
diff --git a/build/android/buildbot/bb_utils.py b/build/android/buildbot/bb_utils.py |
index 3c16cc2bc5b243d4db1c7b1eeb8f3c5a948862c1..969655f520e095d7a268c9ecba34073bde1cee9f 100644 |
--- a/build/android/buildbot/bb_utils.py |
+++ b/build/android/buildbot/bb_utils.py |
@@ -33,7 +33,7 @@ GSUTIL_PATH = os.path.join(BB_BUILD_DIR, 'third_party', 'gsutil', 'gsutil') |
def CommandToString(command): |
"""Returns quoted command that can be run in bash shell.""" |
- return ' '.join(map(pipes.quote, command)) |
+ return ' '.join(pipes.quote(c) for c in command) |
perezju
2015/09/04 09:01:53
maybe cmd_helper.SingleQuote?
jbudorick
2015/09/04 16:51:55
done
|
def SpawnCmd(command, stdout=None, cwd=CHROME_SRC): |