From bcb160f809a6c3bc98b19b69a4c8ab3b5a43dbaa Mon Sep 17 00:00:00 2001 From: Alexandre Duret-Lutz Date: Sun, 11 Jul 2004 22:13:20 +0000 Subject: [PATCH] * lib/Automake/Variable.pm (define): Fix precondition check. --- ChangeLog | 4 ++++ lib/Automake/Variable.pm | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) 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; -- 2.47.2