| Index: scripts/slave/swarming/swarming_utils.py
|
| diff --git a/scripts/slave/swarming/swarming_utils.py b/scripts/slave/swarming/swarming_utils.py
|
| index 8bb1644bee30fc1f8e68e3a6ce7d8ef2c2958f4b..b2368da4ed03970985bc63b7b9095d74d932a021 100644
|
| --- a/scripts/slave/swarming/swarming_utils.py
|
| +++ b/scripts/slave/swarming/swarming_utils.py
|
| @@ -9,7 +9,12 @@ import os
|
|
|
|
|
| def find_client(base_dir):
|
| - """Returns the path to swarming_client if found."""
|
| + """Returns the path to swarming_client if found.
|
| +
|
| + |base_dir| will be in general os.getcwd(), so the script is very dependent on
|
| + CWD. CWD should be the base directory of the checkout. It has always been the
|
| + case.
|
| + """
|
| src_swarming_client = os.path.join(
|
| base_dir, 'src', 'tools', 'swarming_client')
|
| if os.path.isdir(src_swarming_client):
|
|
|