]> git.donarmstrong.com Git - wannabuild.git/commitdiff
Make info not print lines that have a NULL in it.
authorKurt Roeckx <kurt@roeckx.be>
Sun, 6 Sep 2009 17:39:47 +0000 (17:39 +0000)
committerKurt Roeckx <kurt@roeckx.be>
Sun, 6 Sep 2009 17:39:47 +0000 (17:39 +0000)
bin/wanna-build

index 0d24fd1485ddbc0630727b2e95cfabf0be1cdf7a..f929b46fb338955e179ceb3dc521df431d95a05e 100755 (executable)
@@ -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;