bin/update-serial
changeset 122 71d192737143
parent 121 c54b6b5a7d57
child 123 942ef82c9673
--- a/bin/update-serial	Fri May 27 14:30:36 2011 +0200
+++ b/bin/update-serial	Mon May 30 11:35:27 2011 +0200
@@ -271,6 +271,7 @@
     open(TO, ">$bind_dir/named.conf.zones")
       or die "$bind_dir/named.conf.zones: $!\n";
     while (<$conf_dir/*>) {
+        next if /(\.bak|~)$/;
         open(FROM, "$_") or die "$_: $! \n";
         print TO <FROM>;
         close(FROM);