Permalink
Browse files

-

  • Loading branch information...
tg-x committed Mar 5, 2011
1 parent 1a097bf commit 55e285d9c7ae61c058010b8eff4c9f0b891b5737
Showing with 1 addition and 5 deletions.
  1. +1 −5 bin/gitzone
View
@@ -54,7 +54,7 @@ our ($zone_dir, $git, $named_checkzone, $rndc, $class, $default_view, $update_re
my ($config_file, $cmd) = @ARGV;
do $config_file or die "Can't load config: $!\n";
-my (%files, %inc_files, @zones, @changed_files, $date, $cleanup);
+my (%files, @zones, @changed_files, $date, $cleanup);
delete $ENV{GIT_DIR};
!-e $lock_file or die "Error: lock file exists\n";
@@ -182,11 +182,7 @@ sub process_file {
}
} else {
if ($n == 1 && /^;INCLUDED_BY\s+(.*)$/) {
- # add files listed after ;INCLUDED_BY to %inc_files
@inc_by = split /\s+/, $1;
- for (@inc_by) {
- $inc_files{$_} = 0 unless exists $files{$_};
- }
}
}
push @newfile, $line;

0 comments on commit 55e285d

Please sign in to comment.