Skip to content
This repository
tag: v1.1.56
Phillip Howell
executable file 14 lines (10 sloc) 0.274 kb
1 2 3 4 5 6 7 8 9 10 11 12 13
#!/bin/sh

basedir=`dirname "$0"`

case `uname` in
    *CYGWIN*) basedir=`cygpath -w "$basedir"`;;
esac

if [ -x "$basedir/node.exe" ]; then
  "$basedir/node.exe" "$basedir/node_modules/npm/bin/npm-cli.js" "$@"
else
node "$basedir/node_modules/npm/bin/npm-cli.js" "$@"
fi
Something went wrong with that request. Please try again.