Bones/node_modules/.bin/typings

16 lines
278 B
Plaintext
Raw Normal View History

2017-05-17 13:45:25 -04:00
#!/bin/sh
basedir=`dirname "$0"`
case `uname` in
*CYGWIN*) basedir=`cygpath -w "$basedir"`;;
esac
if [ -x "$basedir/node" ]; then
"$basedir/node" "$basedir/../typings/dist/bin.js" "$@"
ret=$?
else
node "$basedir/../typings/dist/bin.js" "$@"
ret=$?
fi
exit $ret