| 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..8eb6859075f5c854a232b1ac91594e8a29c006d3 100644
|
| --- a/build/android/buildbot/bb_utils.py
|
| +++ b/build/android/buildbot/bb_utils.py
|
| @@ -36,7 +36,7 @@ def CommandToString(command):
|
| return ' '.join(map(pipes.quote, command))
|
|
|
|
|
| -def SpawnCmd(command, stdout=None, cwd=CHROME_SRC):
|
| +def SpawnCmd(command, stdout=None, cwd=None):
|
| """Spawn a process without waiting for termination."""
|
| print '>', CommandToString(command)
|
| sys.stdout.flush()
|
| @@ -54,7 +54,7 @@ def SpawnCmd(command, stdout=None, cwd=CHROME_SRC):
|
|
|
| def RunCmd(command, flunk_on_failure=True, halt_on_failure=False,
|
| warning_code=constants.WARNING_EXIT_CODE, stdout=None,
|
| - cwd=CHROME_SRC):
|
| + cwd=None):
|
| """Run a command relative to the chrome source root."""
|
| code = SpawnCmd(command, stdout, cwd).wait()
|
| print '<', CommandToString(command)
|
|
|