win: Fix executing apm.
authorCheng Zhao <zcbenz@gmail.com>
Tue, 29 Apr 2014 03:12:41 +0000 (11:12 +0800)
committerCheng Zhao <zcbenz@gmail.com>
Tue, 29 Apr 2014 03:12:41 +0000 (11:12 +0800)
script/bootstrap.py

index e0e5153..1921998 100755 (executable)
@@ -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'])