Index: fetch.py |
diff --git a/fetch.py b/fetch.py |
index 25f9174d8b971508a36bdc888b1790bd203608f9..249b50bde1923a0972a22ca7fd0b2b6025cb80e6 100755 |
--- a/fetch.py |
+++ b/fetch.py |
@@ -62,7 +62,9 @@ class GclientCheckout(Checkout): |
def run_gclient(self, *cmd, **kwargs): |
print 'Running: gclient %s' % ' '.join(pipes.quote(x) for x in cmd) |
if not self.dryrun: |
- return subprocess.check_call(('gclient',) + cmd, **kwargs) |
+ return subprocess.check_call( |
+ (sys.executable, os.path.join(SCRIPT_PATH, 'gclient.py')) + cmd, |
+ **kwargs) |
class GitCheckout(Checkout): |