node: Update to 4.0
[termux-packages] / packages / nodejs / deps-npm-lib-build.js.patch
1 diff -u -r ../node-v4.0.0/deps/npm/lib/build.js ./deps/npm/lib/build.js
2 --- ../node-v4.0.0/deps/npm/lib/build.js 2015-09-08 11:30:35.000000000 -0400
3 +++ ./deps/npm/lib/build.js 2015-09-08 18:44:34.301980390 -0400
4 @@ -210,6 +210,8 @@
5 if (process.platform !== "win32") {
6 + // Fix shebang paths in binary scripts:
7 + require('child_process').spawn('termux-fix-shebang', [from])
8 return linkIfExists(from, to, gently, cb)
9 } else {
10 return cmdShimIfExists(from, to, cb)
11 }
12 }