main
Last change
on this file was d24f17c, checked in by Aleksandar Panovski <apano77@…>, 15 months ago |
Initial commit
|
-
Property mode
set to
100644
|
File size:
389 bytes
|
Line | |
---|
1 | #!/bin/sh
|
---|
2 | basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')")
|
---|
3 |
|
---|
4 | case `uname` in
|
---|
5 | *CYGWIN*|*MINGW*|*MSYS*)
|
---|
6 | if command -v cygpath > /dev/null 2>&1; then
|
---|
7 | basedir=`cygpath -w "$basedir"`
|
---|
8 | fi
|
---|
9 | ;;
|
---|
10 | esac
|
---|
11 |
|
---|
12 | if [ -x "$basedir/node" ]; then
|
---|
13 | exec "$basedir/node" "$basedir/../which/bin/node-which" "$@"
|
---|
14 | else
|
---|
15 | exec node "$basedir/../which/bin/node-which" "$@"
|
---|
16 | fi
|
---|
Note:
See
TracBrowser
for help on using the repository browser.