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