diff options
Diffstat (limited to 'sbosrcarch')
-rwxr-xr-x | sbosrcarch | 9 |
1 files changed, 4 insertions, 5 deletions
@@ -1240,10 +1240,9 @@ sub purge_mode { chdir($archivedir) or die "$archivedir: $!\n"; find({wanted => \&purge_pass_2_wanted, no_chdir => 1}, "by-name"); - for(keys %keep_filenames) { - print "KEEP $_\n"; - } - die "end of line"; +# for(keys %keep_filenames) { +# print "KEEP $_\n"; +# } # pass 3 if($rebuild) { @@ -1276,7 +1275,7 @@ sub purge_pass_2_wanted { s,^\./,,; # remove leading ./ my (undef, $cat, $name, $file) = split /\//, $_; return unless defined $file; - return if $keep_filenames{"$cat/$name/$file"}; + return if $keep_filenames{"by-name/$cat/$name/$file"}; $purgebytes += -s $_; $purgefiles++; |