postgresql: Package some contrib/ extensions
[termux-packages] / disabled-packages / nodejs-current / deps-npm-lib-build.js.patch
CommitLineData
a61e7e45
FF
1diff -u -r ../node-v5.1.0/deps/npm/lib/build.js ./deps/npm/lib/build.js
2--- ../node-v5.1.0/deps/npm/lib/build.js 2015-11-17 15:55:27.000000000 -0500
3+++ ./deps/npm/lib/build.js 2015-11-17 19:01:33.061204729 -0500
4@@ -223,6 +223,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)