]> git.pld-linux.org Git - packages/nodejs.git/blame - nodejs-libpath.patch
use sed to fixup shebangs, not carry around huge patch for that
[packages/nodejs.git] / nodejs-libpath.patch
CommitLineData
1ed21df5
A
1diff -ur node-v0.9.9-0/lib/module.js node-v0.9.9/lib/module.js
2--- node-v0.9.9-0/lib/module.js 2013-02-07 10:11:11.000000000 -0700
3+++ node-v0.9.9/lib/module.js 2013-02-15 21:40:33.000000000 -0700
4@@ -506,7 +506,7 @@
5 var homeDir = process.env.HOME;
6 }
a6070ceb 7
a6070ceb 8- var paths = [path.resolve(process.execPath, '..', '..', 'lib', 'node')];
e85103e0 9+ var paths = ["/usr/lib/node", "/usr/lib/node_modules"];
a6070ceb 10
1ed21df5
A
11 if (homeDir) {
12 paths.unshift(path.resolve(homeDir, '.node_libraries'));
13Only in node-v0.9.9/lib: module.js~
This page took 0.045252 seconds and 4 git commands to generate.