From f9f2820f905fe8c62dd9cf39b51c8cfceb162a90 Mon Sep 17 00:00:00 2001 From: Eric Nemchik Date: Fri, 23 Dec 2022 14:12:15 -0600 Subject: [PATCH] Fix whitespace replace --- root/migrations/02-default-location | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/root/migrations/02-default-location b/root/migrations/02-default-location index 5abca39..8a66d0c 100644 --- a/root/migrations/02-default-location +++ b/root/migrations/02-default-location @@ -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