projects
/
platform
/
upstream
/
nodejs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
eb4951d
)
Look in /usr/local/lib/node for modules, so that there's a way to install modules...
author
isaacs
<i@izs.me>
Wed, 5 May 2010 04:58:43 +0000
(21:58 -0700)
committer
Ryan Dahl
<ry@tinyclouds.org>
Wed, 5 May 2010 05:02:16 +0000
(22:02 -0700)
lib/module.js
patch
|
blob
|
history
diff --git
a/lib/module.js
b/lib/module.js
index
02df2d6
..
4c40f37
100644
(file)
--- a/
lib/module.js
+++ b/
lib/module.js
@@
-86,7
+86,7
@@
function existsSync (path) {
-var modulePaths = [];
+var modulePaths = [
path.join(process.installPrefix, "lib", "node")
];
if (process.env["HOME"]) {
modulePaths.unshift(path.join(process.env["HOME"], ".node_libraries"));