Skip to content

Commit

Permalink
git bash shim for npm itself
Browse files Browse the repository at this point in the history
  • Loading branch information
isaacs committed Jan 13, 2012
1 parent dc50bdd commit b320e46
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions bin/npm
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
#!/bin/sh
if [ -x "`dirname "$0"`/node.exe" ]; then
"`dirname "$0"`/node.exe" "`dirname "$0"`/node_modules/npm/bin/npm-cli.js" "$@"
else
node "`dirname "$0"`/node_modules/npm/bin/npm-cli.js" "$@"
fi

0 comments on commit b320e46

Please sign in to comment.