win: Fix executing apm.

This commit is contained in:
Cheng Zhao 2014-04-29 11:12:41 +08:00
parent b6fa1141fe
commit 4addd8d227

View file

@ -60,7 +60,8 @@ def update_atom_modules(dirname):
with scoped_cwd(dirname): with scoped_cwd(dirname):
apm = os.path.join(SOURCE_ROOT, 'node_modules', '.bin', 'apm') apm = os.path.join(SOURCE_ROOT, 'node_modules', '.bin', 'apm')
if sys.platform in ['win32', 'cygwin']: 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']) execute([apm, 'install'])