From: Alexandre Duret-Lutz Date: Sun, 11 Jul 2004 22:13:20 +0000 (+0000) Subject: * lib/Automake/Variable.pm (define): Fix precondition check. X-Git-Tag: Release-1-8d~10 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bcb160f809a6c3bc98b19b69a4c8ab3b5a43dbaa;p=thirdparty%2Fautomake.git * lib/Automake/Variable.pm (define): Fix precondition check. --- diff --git a/ChangeLog b/ChangeLog index 0825fce6a..b9fae545e 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2004-07-12 Ray Simard (tiny change) + + * lib/Automake/Variable.pm (define): Fix precondition check. + 2004-07-11 Alexandre Duret-Lutz For PR automake/428: diff --git a/lib/Automake/Variable.pm b/lib/Automake/Variable.pm index 591b7790a..30ffd26dc 100644 --- a/lib/Automake/Variable.pm +++ b/lib/Automake/Variable.pm @@ -791,7 +791,7 @@ sub define ($$$$$$$$) my ($var, $owner, $type, $cond, $value, $comment, $where, $pretty) = @_; prog_error "$cond is not a reference" - unless ref $where; + unless ref $cond; prog_error "$where is not a reference" unless ref $where;