N°2696 - Upgrade SCSSPHP to v1.0.6 (PHP 7.4 compatibility)

This commit is contained in:
Molkobain
2020-01-14 09:48:43 +01:00
parent 460836852e
commit cc887c29fd
20 changed files with 2233 additions and 1029 deletions

View File

@@ -2,9 +2,13 @@
dir=$(cd "${0%[/\\]*}" > /dev/null; cd "../scssphp/scssphp/bin" && pwd)
if [ -d /proc/cygdrive ] && [[ $(which php) == $(readlink -n /proc/cygdrive)/* ]]; then
# We are in Cgywin using Windows php, so the path must be translated
dir=$(cygpath -m "$dir");
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}/pscss" "$@"