From 0721f70975853ed7a0e8cf757415c131dd882879 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C5=81ukasz=20Uzna=C5=84ski?= Date: Mon, 4 Dec 2023 15:46:48 +0100 Subject: [PATCH] Fix for gitlab ci --- .gitlab/build/docker_install.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.gitlab/build/docker_install.sh b/.gitlab/build/docker_install.sh index b65d58e1..5a09e427 100644 --- a/.gitlab/build/docker_install.sh +++ b/.gitlab/build/docker_install.sh @@ -12,4 +12,4 @@ chmod +x /usr/local/bin/composer docker-php-ext-install pdo_mysql zip mysqli intl cp /usr/local/etc/php/php.ini-production /usr/local/etc/php/php.ini -sed -i 's/error_reporting = E_ALL/ & ~E_DEPRECATED/g' /usr/local/etc/php/php.ini +awk '/^error_reporting = E_ALL/{print "error_reporting = E_ALL & ~E_DEPRECATED"; next}1' /usr/local/etc/php/php.ini > temp.ini && mv temp.ini /usr/local/etc/php/php.ini