chiark / gitweb /
Add disabled-packages/nodejs-lts
[termux-packages] / disabled-packages / nodejs-lts / deps-npm-lib-build.js.patch
1 diff -u -r ../node-v4.4.3/deps/npm/lib/build.js ./deps/npm/lib/build.js > deps-npm-lib-build.js.patch
2 --- ../node-v4.4.3/deps/npm/lib/build.js        2016-04-12 19:42:04.000000000 +0000
3 +++ ./deps/npm/lib/build.js     2016-04-19 09:24:57.262100886 +0000
4 @@ -208,6 +208,8 @@
5  
6  function linkBin (from, to, gently, cb) {
7    if (process.platform !== "win32") {
8 +    // Fix shebang paths in binary scripts:
9 +    require('child_process').spawn('termux-fix-shebang', [from])
10      return linkIfExists(from, to, gently, cb)
11    } else {
12      return cmdShimIfExists(from, to, cb)