Browse Source

[PHP-FPM] Fix sed command

andryyy 6 years ago
parent
commit
6d4bcfabb1
1 changed files with 1 additions and 1 deletions
  1. 1 1
      data/Dockerfiles/phpfpm/docker-entrypoint.sh

+ 1 - 1
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 "$@"