errorcode418/php
0
1#!/usr/bin/env sh2 3dir=$(cd "${0%[/\\]*}" > /dev/null; cd '../ua-parser/uap-php/bin' && pwd)4 5if [ -d /proc/cygdrive ]; then6 case $(which php) in7 $(readlink -n /proc/cygdrive)/*)8 # We are in Cygwin using Windows php, so the path must be translated9 dir=$(cygpath -m "$dir");10 ;;11 esac12fi13 14"${dir}/uaparser" "$@"15 