Commit c7c55a7c authored by Christian Kuhn's avatar Christian Kuhn
Browse files

[BUGFIX] Avoid invalid mktemp argument busybox in cglGit

The busybox variant as packaged with the test images based on
alpine of mktemp needs six 'X' as template in cglFixMyCommit.sh.
It otherwise emits a warning executing the command:

 > Build/Scripts/runTests.sh -s cglGit

Resolves: #96432
Releases: main, 11.5, 10.4
Change-Id: I1c1853aabe79186694161c21f5fe0341e1bd2e75
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/72873


Tested-by: core-ci's avatarcore-ci <typo3@b13.com>
Tested-by: Christian Kuhn's avatarChristian Kuhn <lolli@schwarzbu.ch>
Reviewed-by: Christian Kuhn's avatarChristian Kuhn <lolli@schwarzbu.ch>
parent 0beca1c6
......@@ -102,7 +102,7 @@ exist_php_executable() {
# ------------------------------
php_no_xdebug ()
{
temporaryPath="$(mktemp -t php.XXXX).ini"
temporaryPath="$(mktemp -t php.XXXXXX).ini"
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=$?
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment