summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authortg(x) <*@tg-x.net>2011-03-05 13:52:59 (GMT)
committer tg(x) <*@tg-x.net>2013-06-05 15:58:41 (GMT)
commitebd0e9a62d5ca231cfe27db80d2ab2b059a762b2 (patch)
tree5e2212aa000affe5e1b448db6fdfd87bddc1d2f1
parent43c5984e73ab7974ebe569dc7be69ca57b5ac91e (diff)
-
-rwxr-xr-xbin/gitzone6
1 files changed, 1 insertions, 5 deletions
diff --git a/bin/gitzone b/bin/gitzone
index 3a3a838..fbf63bd 100755
--- a/bin/gitzone
+++ b/bin/gitzone
@@ -32,7 +32,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";
@@ -160,11 +160,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;