summaryrefslogtreecommitdiffstats
path: root/tools/find_depot_tools.py
diff options
context:
space:
mode:
authorjamesr <jamesr@chromium.org>2014-10-22 17:02:37 -0700
committerCommit bot <commit-bot@chromium.org>2014-10-23 00:02:59 +0000
commit380a535523ed8b808eab6fa7c205dce67e0ed2a9 (patch)
treeaed7ff7818a1367085a4fb6c4b3848dc2e211842 /tools/find_depot_tools.py
parenta258e281a6a1cff9e1a4b4dc3bd44a455022fb42 (diff)
downloadchromium_src-380a535523ed8b808eab6fa7c205dce67e0ed2a9.zip
chromium_src-380a535523ed8b808eab6fa7c205dce67e0ed2a9.tar.gz
chromium_src-380a535523ed8b808eab6fa7c205dce67e0ed2a9.tar.bz2
Look for gclient.py in find_depot_tools
Many (but not all!) of our bots have a directory early in the PATH that contains nothing but a script called 'gclient' and have the real depot_tools directory later on in the path. This looks for gclient.py, which is in the real depot_tools directory. Review URL: https://codereview.chromium.org/652893005 Cr-Commit-Position: refs/heads/master@{#300802}
Diffstat (limited to 'tools/find_depot_tools.py')
-rw-r--r--tools/find_depot_tools.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/find_depot_tools.py b/tools/find_depot_tools.py
index 469a283..1f918662 100644
--- a/tools/find_depot_tools.py
+++ b/tools/find_depot_tools.py
@@ -12,7 +12,7 @@ import sys
def IsRealDepotTools(path):
- return os.path.isfile(os.path.join(path, 'gclient'))
+ return os.path.isfile(os.path.join(path, 'gclient.py'))
def add_depot_tools_to_path():