Last change
on this file since eed0bf8 was 6a3a178, checked in by Ema <ema_spirova@…>, 3 years ago |
initial commit
|
-
Property mode
set to
100644
|
File size:
302 bytes
|
Rev | Line | |
---|
[6a3a178] | 1 | #!/bin/sh
|
---|
| 2 | basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')")
|
---|
| 3 |
|
---|
| 4 | case `uname` in
|
---|
| 5 | *CYGWIN*|*MINGW*|*MSYS*) basedir=`cygpath -w "$basedir"`;;
|
---|
| 6 | esac
|
---|
| 7 |
|
---|
| 8 | if [ -x "$basedir/node" ]; then
|
---|
| 9 | exec "$basedir/node" "$basedir/../pacote/lib/bin.js" "$@"
|
---|
| 10 | else
|
---|
| 11 | exec node "$basedir/../pacote/lib/bin.js" "$@"
|
---|
| 12 | fi
|
---|
Note:
See
TracBrowser
for help on using the repository browser.