From: Kurt Roeckx Date: Sun, 6 Sep 2009 17:39:47 +0000 (+0000) Subject: Make info not print lines that have a NULL in it. X-Git-Url: https://git.donarmstrong.com/?p=wannabuild.git;a=commitdiff_plain;h=2df47c378a09360af50fa8775dd8527863bbdcd9 Make info not print lines that have a NULL in it. --- diff --git a/bin/wanna-build b/bin/wanna-build index 0d24fd1..f929b46 100755 --- a/bin/wanna-build +++ b/bin/wanna-build @@ -1858,6 +1858,7 @@ sub info_packages { foreach $key (sort keys %$pkg) { next if isin( $key, @firstkeys ); my $val = $pkg->{$key}; + next if !defined($val); chomp( $val ); $val = "\n$val" if isin( $key, qw(Failed Old-Failed)); $val =~ s/\n/\n /g;