[FOLLOWUP][TASK] Squeeze every bit of performance from CGL fixer 65/52965/2
authorElmar Hinz <t3elmar@gmail.com>
Wed, 24 May 2017 16:10:23 +0000 (18:10 +0200)
committerChristian Kuhn <lolli@schwarzbu.ch>
Mon, 29 May 2017 21:59:40 +0000 (23:59 +0200)
Support case sensitve file systems again.

Releases: master, 8.7
Resolves: #80814
Change-Id: I82274b328e9cfa75fb35360145d7a668d1270dc3
Reviewed-on: https://review.typo3.org/52965
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
Build/Scripts/cglFixMyCommit.sh

index f75069a..0fe7d2f 100755 (executable)
@@ -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}"