]> git.donarmstrong.com Git - debbugs.git/commitdiff
fix undefined value in print (should be $version, not $2)
authorDon Armstrong <don@donarmstrong.com>
Mon, 16 Jul 2012 23:31:04 +0000 (16:31 -0700)
committerDon Armstrong <don@donarmstrong.com>
Mon, 16 Jul 2012 23:31:04 +0000 (16:31 -0700)
Debbugs/Packages.pm

index 5c4d22367d78a7eb66f0156109b9d54969fe0478..62d26827ab10e037df67d27e4e2c8e71493c0c75 100644 (file)
@@ -610,7 +610,7 @@ sub make_source_versions {
                    my @bin_versions = sourcetobinary($1,$version);
                    if (not @bin_versions or
                        @{$bin_versions[0]} != 3) {
-                       print {$warnings} "The source $1 and version $2 do not appear to match any binary packages\n";
+                       print {$warnings} "The source '$1' and version '$version' do not appear to match any binary packages\n";
                    }
                    next;
                }