mirror of
https://github.com/e107inc/e107.git
synced 2025-10-10 12:34:49 +02:00
Symbolic link
15 lines
366 B
Bash
Symbolic link
15 lines
366 B
Bash
#!/usr/bin/env sh
|
|
|
|
dir=$(cd "${0%[/\\]*}" > /dev/null; cd "../matthiasmullie/minify/bin" && pwd)
|
|
|
|
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
|
|
fi
|
|
|
|
"${dir}/minifycss" "$@"
|