From: Joachim Breitner Date: Thu, 30 Jul 2009 11:55:09 +0000 (+0200) Subject: Write a line even without a Previous-State X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=100dd6caa3e119abb75c6fb16855959dde4bd11e;p=wannabuild.git Write a line even without a Previous-State --- diff --git a/bin/wanna-build b/bin/wanna-build index 277273c..48b350f 100755 --- a/bin/wanna-build +++ b/bin/wanna-build @@ -1889,6 +1889,8 @@ sub list_packages { print " Previous state was $pkg->{'Previous-State'} until ", "$pkg->{'State-Change'}\n" if $verbose && $pkg->{'Previous-State'}; + print " No previous state recorded\n" + if $verbose && !$pkg->{'Previous-State'}; print " Previous failing reasons:\n ", join("\n ",split("\n",$pkg->{'Old-Failed'})), "\n" if $verbose && $pkg->{'Old-Failed'};