skycaiji/vendor/bin/minifycss

15 lines
366 B
Plaintext
Raw Normal View History

2019-02-19 09:52:13 +00:00
#!/usr/bin/env sh
2021-09-10 03:28:01 +00:00
dir=$(cd "${0%[/\\]*}" > /dev/null; cd "../matthiasmullie/minify/bin" && pwd)
2019-02-19 09:52:13 +00:00
2021-09-10 03:28:01 +00:00
if [ -d /proc/cygdrive ]; then
case $(which php) in
$(readlink -n /proc/cygdrive)/*)
# We are in Cygwin using Windows php, so the path must be translated
dir=$(cygpath -m "$dir");
;;
esac
2019-02-19 09:52:13 +00:00
fi
"${dir}/minifycss" "$@"