Commit 70dcd9ff 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/+/72852


Tested-by: core-ci's avatarcore-ci <typo3@b13.com>
Tested-by: Stefan Bürk's avatarStefan Bürk <stefan@buerk.tech>
Tested-by: Nikita Hovratov's avatarNikita Hovratov <nikita.h@live.de>
Tested-by: Christian Kuhn's avatarChristian Kuhn <lolli@schwarzbu.ch>
Reviewed-by: Stefan Bürk's avatarStefan Bürk <stefan@buerk.tech>
Reviewed-by: Nikita Hovratov's avatarNikita Hovratov <nikita.h@live.de>
Reviewed-by: Christian Kuhn's avatarChristian Kuhn <lolli@schwarzbu.ch>
parent 03c0c741
......@@ -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