]> sourceware.org Git - automake.git/commitdiff
Fix `unless' uses.
authorAkim Demaille <akim@epita.fr>
Tue, 6 Feb 2001 09:22:15 +0000 (09:22 +0000)
committerAkim Demaille <akim@epita.fr>
Tue, 6 Feb 2001 09:22:15 +0000 (09:22 +0000)
automake.in

index eedfe17e05facdb250e8b391f9c42b3a21d798a9..7f05dbc01943e4aa2eff1a6f8f5b111a07d38841 100755 (executable)
@@ -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.
This page took 0.033814 seconds and 5 git commands to generate.