Fix whitespace replace

This commit is contained in:
Eric Nemchik 2022-12-23 14:12:15 -06:00
parent b5918a70c2
commit f9f2820f90

View File

@ -1,7 +1,7 @@
#!/usr/bin/with-contenv bash
DEFAULT_CONF="/config/nginx/site-confs/default.conf"
OLD_ROOT="root /var/www/localhost/cops;"
OLD_ROOT="root\s*/var/www/localhost/cops;"
NEW_ROOT="root /app/www/public;"
if grep -q "${OLD_ROOT}" "${DEFAULT_CONF}";then