From c5e0ae64951321f4e7b9dafa9347beea7767ca78 Mon Sep 17 00:00:00 2001 From: Cheng Zhao Date: Tue, 6 Aug 2013 20:14:28 +0800 Subject: [PATCH] Fix calling apm under cygwin. --- script/bootstrap.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/script/bootstrap.py b/script/bootstrap.py index 2c24835eb5ba..54108e41d7c9 100755 --- a/script/bootstrap.py +++ b/script/bootstrap.py @@ -76,7 +76,7 @@ def update_node_modules(): def update_node_modules_for_dir(dirname): with scoped_cwd(dirname): apm = os.path.join(SOURCE_ROOT, 'vendor', 'apm', 'bin', 'apm') - subprocess.check_call(['node', apm, 'install']) + subprocess.check_call(['node', os.path.relpath(apm), 'install']) def update_win32_python():