From: Akim Demaille Date: Tue, 6 Feb 2001 09:22:15 +0000 (+0000) Subject: Fix `unless' uses. X-Git-Tag: Release-1-4d~36 X-Git-Url: https://sourceware.org/git/?a=commitdiff_plain;h=62968e11404ccbf1219d01d72ff2d4028fc9ee30;p=automake.git Fix `unless' uses. --- diff --git a/automake.in b/automake.in index eedfe17e..7f05dbc0 100755 --- a/automake.in +++ b/automake.in @@ -5394,7 +5394,7 @@ sub pretty_print_internal $bol = 1; } - $result .= ' ' unless ($bol); + $result .= ' ' unless $bol; $result .= $_; $column += length ($_) + 1; $bol = 0; @@ -7073,7 +7073,7 @@ sub file_contents { # Free lance dependency. Output the rule for all the # targets instead of one by one. - unless (defined $contents{$targets}) + if (!defined $contents{$targets}) { # Some hair to avoid spurious trailing blank # when there are no dependencies.