]> mj.ucw.cz Git - libucw.git/commitdiff
Fixed bug in parsing of options.
authorMartin Mares <mj@ucw.cz>
Tue, 12 Apr 2005 21:25:49 +0000 (21:25 +0000)
committerMartin Mares <mj@ucw.cz>
Tue, 12 Apr 2005 21:25:49 +0000 (21:25 +0000)
lib/perl/Configure.pm

index f251ce62c463c55204131b911ce278f6d9bec07f..b16d15a88f3a04a4978072e4e063835bfdb9a0fe 100644 (file)
@@ -124,7 +124,7 @@ sub Init($$) {
                } elsif ($x =~ /^(\w+)$/) {
                        Override($1 => 1);
                } else {
-                       print STDERR "Invalid option $_\n";
+                       print STDERR "Invalid option $x\n";
                        exit 1;
                }
        }