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
It otherwise emits a warning executing the command:

 > Build/Scripts/ -s cglGit

Resolves: #96432
Releases: main, 11.5, 10.4
Change-Id: I1c1853aabe79186694161c21f5fe0341e1bd2e75

Tested-by: core-ci's avatarcore-ci <>
Tested-by: Stefan Bürk's avatarStefan Bürk <>
Tested-by: Nikita Hovratov's avatarNikita Hovratov <>
Tested-by: Christian Kuhn's avatarChristian Kuhn <>
Reviewed-by: Stefan Bürk's avatarStefan Bürk <>
Reviewed-by: Nikita Hovratov's avatarNikita Hovratov <>
Reviewed-by: Christian Kuhn's avatarChristian Kuhn <>
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}" "$@"
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