2024-09-24 21:20:37 +08:00
|
|
|
#!/bin/sh
|
|
|
|
basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')")
|
|
|
|
|
|
|
|
case `uname` in
|
2024-09-27 20:58:56 +08:00
|
|
|
*CYGWIN*) basedir=`cygpath -w "$basedir"`;;
|
2024-09-24 21:20:37 +08:00
|
|
|
esac
|
|
|
|
|
|
|
|
if [ -x "$basedir/node" ]; then
|
|
|
|
"$basedir/node" "$basedir/../sass/sass.js" "$@"
|
|
|
|
ret=$?
|
|
|
|
else
|
|
|
|
node "$basedir/../sass/sass.js" "$@"
|
|
|
|
ret=$?
|
|
|
|
fi
|
|
|
|
exit $ret
|