diff --git a/Build/Scripts/cglFixMyCommit.sh b/Build/Scripts/cglFixMyCommit.sh index f75069aad9ba83941de07ddf5a96197b75ce4186..0fe7d2f245e04cee0e539ab1d7699c1be83d8d52 100755 --- a/Build/Scripts/cglFixMyCommit.sh +++ b/Build/Scripts/cglFixMyCommit.sh @@ -13,7 +13,7 @@ php_no_xdebug () { temporaryPath="$(mktemp -t php.XXXX).ini" - php -i | grep "\.ini" | grep -o -e '\(/[a-z0-9._-]\+\)\+\.ini' | grep -v xdebug | xargs awk 'FNR==1{print ""}1' > "${temporaryPath}" + php -i | grep "\.ini" | grep -o -e '\(/[A-Za-z0-9._-]\+\)\+\.ini' | grep -v xdebug | xargs awk 'FNR==1{print ""}1' > "${temporaryPath}" php -n -c "${temporaryPath}" "$@" RETURN=$? rm -f "${temporaryPath}"