]> khamidou — GitHub mirrors - electron.git/commitdiff
:lipstick:
authorCheng Zhao <zcbenz@gmail.com>
Fri, 28 Mar 2014 09:42:37 +0000 (09:42 +0000)
committerCheng Zhao <zcbenz@gmail.com>
Fri, 28 Mar 2014 09:42:37 +0000 (09:42 +0000)
script/bootstrap.py

index 5d77d79673cacd47b5f32d90142195952d76a6ac..8a2f5e461b995c7a234bce133ed86fcb4c23c684 100755 (executable)
@@ -56,7 +56,7 @@ def update_apm():
 
   if os.environ.get('CI') == '1':
     execute([npm, 'install', 'npm'])
-    npm = os.path.join('node_modules', '.bin', 'npm')
+    npm = os.path.join(SOURCE_ROOT, 'node_modules', '.bin', 'npm')
     if sys.platform == 'win32':
       npm += '.cmd'