mirror of
https://github.com/gutmensch/docker-dmarc-report.git
synced 2025-12-29 16:15:55 +00:00
fix path for templating
This commit is contained in:
@@ -21,7 +21,7 @@ if [[ -v TEMPLATE_NGINX_HTML ]] ; then
|
||||
value=$(echo "$i" | cut -d'=' -f2)
|
||||
if [[ "$variable" != '%s' ]] ; then
|
||||
replace='\$\$_'${variable}'_\$\$'
|
||||
find /var/www/html -type f -not -path "/var/www/html/vendor/*" -exec sed -i -e 's#'${replace}'#'${value}'#g' {} \;
|
||||
find /var/www/viewer -type f -exec sed -i -e 's#'${replace}'#'${value}'#g' {} \;
|
||||
fi
|
||||
done
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user