From ec63cc09db9e741ab4322c30b7f6ac1e2cd0943c Mon Sep 17 00:00:00 2001 From: Cheng Zhao Date: Tue, 29 Apr 2014 11:07:02 +0800 Subject: [PATCH] Fix executing npm under cygwin. --- script/bootstrap.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/script/bootstrap.py b/script/bootstrap.py index ed7096a957..e0e5153011 100755 --- a/script/bootstrap.py +++ b/script/bootstrap.py @@ -11,7 +11,7 @@ from lib.util import execute, scoped_cwd SOURCE_ROOT = os.path.abspath(os.path.dirname(os.path.dirname(__file__))) VENDOR_DIR = os.path.join(SOURCE_ROOT, 'vendor') PYTHON_26_URL = 'https://chromium.googlesource.com/chromium/deps/python_26' -NPM = 'npm.cmd' if sys.platform == 'win32' else 'npm' +NPM = 'npm.cmd' if sys.platform in ['win32', 'cygwin'] else 'npm' def main():