-
-
Save coreybutler/e1258e4839430a542f0c to your computer and use it in GitHub Desktop.
Files for issue #62 (NVM for Windows)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/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 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| :: Created by npm, please don't edit manually. | |
| @IF EXIST "%~dp0\node.exe" ( | |
| "%~dp0\node.exe" "%~dp0\.\node_modules\npm\bin\npm-cli.js" %* | |
| ) ELSE ( | |
| node "%~dp0\.\node_modules\npm\bin\npm-cli.js" %* | |
| ) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment