Update build.sh

This commit is contained in:
Manevolent 2023-04-23 18:06:53 -06:00 committed by GitHub
parent fa351ef810
commit a80f8413ce
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -119,7 +119,7 @@ do
# Remove existing configuration # Remove existing configuration
rm -v -rf $config_out/bind/* rm -v -rf $config_out/bind/*
# Copy all bind default files to /etc/(bind) # Copy all bind default files to /etc/(bind)
find bind -type d | xargs -I '{}' mkdir --verbose -p $config_out/bind/{} find bind -type d | xargs -I '{}' mkdir --verbose -p $config_out/{}
find bind -type f | sed -e "s@bind/@@g" | xargs -I '{}' cp --verbose bind/{} $config_out/bind/{} find bind -type f | sed -e "s@bind/@@g" | xargs -I '{}' cp --verbose bind/{} $config_out/bind/{}
# Fill out templates and remove them after # Fill out templates and remove them after
process_templates "$config_out/bind/" "$sigil_vars" process_templates "$config_out/bind/" "$sigil_vars"