12345678910111213141516 |
- $OpenBSD: patch-lib_module_js,v 1.5 2016/01/29 20:12:04 abieber Exp $
- --- lib/module.js.orig Sun Jan 17 11:41:55 2016
- +++ lib/module.js Sun Jan 17 11:45:54 2016
- @@ -478,7 +478,10 @@ Module._initPaths = function() {
- var homeDir = process.env.HOME;
- }
-
- - var paths = [path.resolve(process.execPath, '..', '..', 'lib', 'node')];
- + var paths = [
- + path.resolve(process.execPath, '..', '..', 'lib', 'node'),
- + path.resolve(process.execPath, '..', '..', 'lib', 'node_modules')
- + ];
-
- if (homeDir) {
- paths.unshift(path.resolve(homeDir, '.node_libraries'));
|