mirror of
https://github.com/arnaucube/comunicationLeap.git
synced 2026-02-07 03:16:45 +01:00
16 lines
278 B
Bash
16 lines
278 B
Bash
#!/bin/sh
|
|
basedir=`dirname "$0"`
|
|
|
|
case `uname` in
|
|
*CYGWIN*) basedir=`cygpath -w "$basedir"`;;
|
|
esac
|
|
|
|
if [ -x "$basedir/node" ]; then
|
|
"$basedir/node" "$basedir/../express/bin/express" "$@"
|
|
ret=$?
|
|
else
|
|
node "$basedir/../express/bin/express" "$@"
|
|
ret=$?
|
|
fi
|
|
exit $ret
|