Skip to content

Commit 3b4d00a

Browse files
committed
Tweak verbose logging of directories in computeblocklists/extractbuild
1 parent bde02c8 commit 3b4d00a

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

computeblocklists

+1-1
Original file line numberDiff line numberDiff line change
@@ -280,7 +280,7 @@ while (1) {
280280
print "l $n $c\n";
281281
next;
282282
} elsif (-d _) {
283-
print STDERR "$file\n" if $opt_verbose && $opt_verbose > 1;
283+
print STDERR "$file\n" if $opt_verbose && ($opt_verbose > 1 || $file =~ /^KIWI\/[^\/]*$/);
284284
print "d $n\n";
285285
next;
286286
} elsif (! -f _) {

extractbuild

+1-1
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ while (<S>) {
8181
die("file without directory: $file\n") unless $done{$1} && $done{$1} eq 'd';
8282
}
8383
if ($filetype eq 'd') { # dir
84-
print "$file\n" if $opt_verbose && !($opt_verbose == 1 && $file =~ /^KIWI\/.*\//);
84+
print "$file\n" if $opt_verbose && ($opt_verbose > 1 || $file =~ /^KIWI\/[^\/]*$/);
8585
mkdir($file) || die("mkdir $file: $!\n");
8686
$done{$file} = 'd';
8787
next;

0 commit comments

Comments
 (0)