diff options
Diffstat (limited to 'bin/locmaint')
-rwxr-xr-x | bin/locmaint | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/bin/locmaint b/bin/locmaint index efb3efb8..6976d21f 100755 --- a/bin/locmaint +++ b/bin/locmaint @@ -207,9 +207,10 @@ sub do_homedir { # (can't live in ~/src as src-register-all will complain) # # local/pub: files to be temporarily shared over the LAN - unless (empty_dir_or_list("local/big") - && empty_dir_or_list("local/tmp") - && empty_dir_or_list("local/pub")) { + my $empty = 1; + $empty = empty_dir_or_list($_) && $empty + for qw(local/big local/tmp local/pub); + unless ($empty) { say_spaced_bullet ("Consider cleaning up/annexing files in dir(s) listed above."); get_ack(); |