roll-dep: Run gclient.py rather than gclient

gclient calls into update_depot_tools, where gclient.py does not.

Change-Id: Idabf0fd613ee241460fbeb6b897a79b084bbc4e2
Reviewed-on: https://chromium-review.googlesource.com/1000786
Reviewed-by: Aaron Gable <agable@chromium.org>
Commit-Queue: Eric Boren <borenet@chromium.org>
changes/86/1000786/2
Eric Boren 7 years ago committed by Commit Bot
parent da55cdc03c
commit 5888d6f676

@ -71,7 +71,9 @@ def should_show_log(upstream_url):
def get_gclient_root():
return check_output(['gclient', 'root']).strip()
gclient = os.path.join(
os.path.dirname(os.path.abspath(__file__)), 'gclient.py')
return check_output([sys.executable, gclient, 'root']).strip()
def get_deps(root):

Loading…
Cancel
Save