2fb0cec91b542bbf4b1b921f8fa420b3173e3774.svn-base
314 Bytes
#!/bin/sh
basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')")
case `uname` in
*CYGWIN*|*MINGW*|*MSYS*) basedir=`cygpath -w "$basedir"`;;
esac
if [ -x "$basedir/node" ]; then
"$basedir/node" "$basedir/../nyc/bin/nyc.js" "$@"
ret=$?
else
node "$basedir/../nyc/bin/nyc.js" "$@"
ret=$?
fi
exit $ret