diff --git a/build.sh b/build.sh index e141805..4b73c3e 100755 --- a/build.sh +++ b/build.sh @@ -119,7 +119,7 @@ do # Remove existing configuration rm -v -rf $config_out/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/{} # Fill out templates and remove them after process_templates "$config_out/bind/" "$sigil_vars"