Files
nette_calculator/vendor/bin/tester
T
2019-04-04 18:34:40 +02:00

15 lines
354 B
Bash

#!/usr/bin/env sh
dir=$(cd "${0%[/\\]*}" > /dev/null; cd "../nette/tester/src" && 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}/tester" "$@"