Skip to content
This repository has been archived by the owner on Aug 11, 2022. It is now read-only.

Commit

Permalink
remove the unused and unnecessary make element
Browse files Browse the repository at this point in the history
  • Loading branch information
isaacs committed Mar 1, 2010
1 parent 8ef9654 commit b4d3310
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
5 changes: 4 additions & 1 deletion cli.js
Expand Up @@ -15,7 +15,10 @@ var fs = require("fs"),
path = require("path"),
npm;
if (fs.lstatSync(__filename).isSymbolicLink()) {
npm = path.join(path.dirname(fs.readlinkSync(__filename)), "npm");
do {
__filename = fs.readlinkSync(__filename);
npm = path.join(path.dirname(__filename), "npm");
} while (fs.lstatSync(__filename).isSymbolicLink());
} else {
npm = path.join(__dirname, "npm");
}
Expand Down
1 change: 0 additions & 1 deletion package.json
Expand Up @@ -12,5 +12,4 @@
, "activate" : "scripts/activate.js"
, "deactivate" : "scripts/deactivate.js"
}
, "make":"ln -s $(pwd)/cli.js /usr/local/bin/npm"
}

0 comments on commit b4d3310

Please sign in to comment.