16 lines
272 B
Plaintext
16 lines
272 B
Plaintext
|
#!/bin/sh
|
||
|
basedir=`dirname "$0"`
|
||
|
|
||
|
case `uname` in
|
||
|
*CYGWIN*) basedir=`cygpath -w "$basedir"`;;
|
||
|
esac
|
||
|
|
||
|
if [ -x "$basedir/node" ]; then
|
||
|
"$basedir/node" "$basedir/../jade/bin/jade.js" "$@"
|
||
|
ret=$?
|
||
|
else
|
||
|
node "$basedir/../jade/bin/jade.js" "$@"
|
||
|
ret=$?
|
||
|
fi
|
||
|
exit $ret
|