diff options
author | B. Watson <yalhcru@gmail.com> | 2018-06-03 23:23:03 -0400 |
---|---|---|
committer | B. Watson <yalhcru@gmail.com> | 2018-06-03 23:23:03 -0400 |
commit | 2a6daf230e851869abd89675297275261ae498c1 (patch) | |
tree | 296605df902ff34f17664b42bf3237ffbcc0a7f5 /sbosrcarch | |
parent | 1a87ce81783c8e8b173eb3192ad9d25c4eadd115 (diff) | |
download | sbostuff-2a6daf230e851869abd89675297275261ae498c1.tar.gz |
sbosrcarch purge_mode fix, wip
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++; |