phpunit 303 B

12345678910
  1. #!/usr/bin/env sh
  2. dir=$(cd "${0%[/\\]*}" > /dev/null; cd "../phpunit/phpunit" && pwd)
  3. if [ -d /proc/cygdrive ] && [[ $(which php) == $(readlink -n /proc/cygdrive)/* ]]; then
  4. # We are in Cgywin using Windows php, so the path must be translated
  5. dir=$(cygpath -m "$dir");
  6. fi
  7. "${dir}/phpunit" "$@"