Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/bin/sh
- (set -o igncr) 2>/dev/null && set -o igncr; # cygwin encoding fix
- 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
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement