From 4addd8d227e997a99c204fd82b51e14154791726 Mon Sep 17 00:00:00 2001 From: Cheng Zhao Date: Tue, 29 Apr 2014 11:12:41 +0800 Subject: [PATCH] win: Fix executing apm. --- script/bootstrap.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/script/bootstrap.py b/script/bootstrap.py index e0e515301135..1921998a1f2a 100755 --- a/script/bootstrap.py +++ b/script/bootstrap.py @@ -60,7 +60,8 @@ def update_atom_modules(dirname): with scoped_cwd(dirname): apm = os.path.join(SOURCE_ROOT, 'node_modules', '.bin', 'apm') if sys.platform in ['win32', 'cygwin']: - apm += '.cmd' + apm = os.path.join(SOURCE_ROOT, 'node_modules', 'atom-package-manager', + 'bin', 'apm.cmd') execute([apm, 'install'])