Commit 0ffcc877 authored by Nodir Turakulov's avatar Nodir Turakulov Committed by Commit Bot

[gclient hooks] add .bat to vpython on windows

Bug: 781430
Change-Id: Idcba016f78078aa9678b8a246e964b3dcb09a016
Reviewed-on: https://chromium-review.googlesource.com/762389Reviewed-by: 's avatarRobbie Iannucci <iannucci@chromium.org>
Commit-Queue: Nodir Turakulov <nodir@chromium.org>
parent 7af1dc56
......@@ -92,7 +92,6 @@ import pprint
import re
import sys
import time
import urllib
import urlparse
import fix_encoding
......@@ -208,6 +207,8 @@ class Hook(object):
# Python script. Run it by starting a new copy of the same
# interpreter.
cmd[0] = sys.executable
elif cmd[0] == 'vpython' and _detect_host_os() == 'win':
cmd[0] += '.bat'
cwd = root
if self._cwd:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment