diff options
author | isaacs <i@izs.me> | 2010-05-03 10:35:58 +0400 |
---|---|---|
committer | isaacs <i@izs.me> | 2010-05-03 10:35:58 +0400 |
commit | f384ab576cc8f7e5f085b29783d9a282aaf6e9da (patch) | |
tree | 5e34b054a385f24710d3eb3468cb04830908ecde /lib | |
parent | caea1585548861f74e21c40274152e0c1f63b896 (diff) |
Don't try to link the lifecycle env vars as bins.
Diffstat (limited to 'lib')
-rw-r--r-- | lib/activate.js | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/activate.js b/lib/activate.js index a500d8215..9ad11d576 100644 --- a/lib/activate.js +++ b/lib/activate.js @@ -89,9 +89,9 @@ function link (from, to, cb) { function linkBins (pkg, cb) { if (!pkg.bin) return cb() var steps = [] - for (var i in pkg.bin) { - var to = path.join(process.installPrefix, "bin", i), - from = to+"-"+pkg.version + for (var i in pkg.bin) if (!i.charAt(0) === "_") { + var to = path.join(process.installPrefix, "bin", i) + , from = to+"-"+pkg.version steps.push([link, from, to]) } steps.push(cb) |