From: Andreas Barth Date: Wed, 30 Mar 2011 20:51:02 +0000 (+0000) Subject: fix previous commits X-Git-Url: https://git.donarmstrong.com/?p=wannabuild.git;a=commitdiff_plain;h=9ef138d3d1f5896aa9e3f07a768bfaf337831c80 fix previous commits --- diff --git a/bin/wanna-build b/bin/wanna-build index 9de97a8..56e5ced 100755 --- a/bin/wanna-build +++ b/bin/wanna-build @@ -3116,7 +3116,7 @@ sub parse_all_v3 { print "$logstr package in unknown state: $pkgs->{'status'}\n"; next SRCS; } - next if $pkgs->{'version'} eq $pkg->{'version'} and $pkgs->{'binnmu'} and $pkgs->{'binnmu'} >= int($pkg->{'binary_nmu_version'}); + next if $pkgs->{'version'} eq $pkg->{'version'} and $pkgs->{'binnmu'}//0 >= int($pkg->{'binary_nmu_version'}//0); next if $pkgs->{'version'} eq $pkg->{'version'} and !isin( $pkg->{'state'}, qw(Installed)); next if isin( $pkg->{'state'}, qw(Not-For-Us Failed-Removed));