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