diff options
Diffstat (limited to 'deps/v8/tools/node/node_common.py')
-rwxr-xr-x | deps/v8/tools/node/node_common.py | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/deps/v8/tools/node/node_common.py b/deps/v8/tools/node/node_common.py index 72fbd9641a..de2e98d909 100755 --- a/deps/v8/tools/node/node_common.py +++ b/deps/v8/tools/node/node_common.py @@ -4,6 +4,7 @@ # found in the LICENSE file. import os +import pipes import shutil import stat import subprocess @@ -22,7 +23,10 @@ def EnsureDepotTools(v8_path, fetch_if_not_exist): pass if fetch_if_not_exist: print "Checking out depot_tools." - subprocess.check_call(["git", "clone", DEPOT_TOOLS_URL, depot_tools]) + # shell=True needed on Windows to resolve git.bat. + subprocess.check_call("git clone {} {}".format( + pipes.quote(DEPOT_TOOLS_URL), + pipes.quote(depot_tools)), shell=True) return depot_tools return None depot_tools = _Get(v8_path) |