]> git.ipfire.org Git - thirdparty/automake.git/commitdiff
* lib/Automake/Variable.pm (define): Fix precondition check.
authorAlexandre Duret-Lutz <adl@gnu.org>
Sun, 11 Jul 2004 22:13:20 +0000 (22:13 +0000)
committerAlexandre Duret-Lutz <adl@gnu.org>
Sun, 11 Jul 2004 22:13:20 +0000 (22:13 +0000)
ChangeLog
lib/Automake/Variable.pm

index 0825fce6a662eb63f6ad33a7d6240bea40604909..b9fae545e68bdeaebaf002f79e9a9a68c1c765cd 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2004-07-12  Ray Simard  <rhs.techlists@sylvan-glade.com>  (tiny change)
+
+       * lib/Automake/Variable.pm (define): Fix precondition check.
+
 2004-07-11  Alexandre Duret-Lutz  <adl@gnu.org>
 
        For PR automake/428:
index 591b7790a408f0cdff716a91b55af49ea3973dc6..30ffd26dc6ecae3ac3ae629f70386775f5defbba 100644 (file)
@@ -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;