From 6d4bcfabb1c9a5f58264cbbaffef480984a9a243 Mon Sep 17 00:00:00 2001 From: andryyy Date: Thu, 31 Jan 2019 15:51:00 +0100 Subject: [PATCH] [PHP-FPM] Fix sed command --- data/Dockerfiles/phpfpm/docker-entrypoint.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/data/Dockerfiles/phpfpm/docker-entrypoint.sh b/data/Dockerfiles/phpfpm/docker-entrypoint.sh index 1bc66c2e..d4919641 100755 --- a/data/Dockerfiles/phpfpm/docker-entrypoint.sh +++ b/data/Dockerfiles/phpfpm/docker-entrypoint.sh @@ -93,7 +93,7 @@ fi # Patching NC files, if any (fixes PHP 7.2.14 + NC 15.0.2) find /web/ -ipath '*lib/private/legacy/template.php' | while read -r template; do - sed -i "s/\$app \!== '' )/\$app \!== '' \&\& \$app \!== 'core' )/g" "${template}"; done + sed -i "s/\$app \!== '' )/\$app \!== '' \&\& \$app \!== 'core' )/g" "${template}" done exec "$@"