From: Cheng Zhao Date: Tue, 6 Aug 2013 12:14:28 +0000 (+0800) Subject: Fix calling apm under cygwin. X-Git-Tag: v0.3.0~11 X-Git-Url: http://git.khamidou.com/?a=commitdiff_plain;h=c5e0ae64951321f4e7b9dafa9347beea7767ca78;p=electron.git Fix calling apm under cygwin. --- diff --git a/script/bootstrap.py b/script/bootstrap.py index 2c24835e..54108e41 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():