diff options
Diffstat (limited to 'public/system/storage/vendor/bin/pscss')
-rw-r--r-- | public/system/storage/vendor/bin/pscss | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/public/system/storage/vendor/bin/pscss b/public/system/storage/vendor/bin/pscss new file mode 100644 index 0000000..7fd45db --- /dev/null +++ b/public/system/storage/vendor/bin/pscss @@ -0,0 +1,10 @@ +#!/usr/bin/env sh + +dir=$(cd "${0%[/\\]*}" > /dev/null; cd "../leafo/scssphp" && 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"); +fi + +"${dir}/pscss" "$@" |