diff --git a/support-d/utils/fixbug.pl b/support-d/utils/fixbug.pl index ddf6d3cd53..a445871806 100755 --- a/support-d/utils/fixbug.pl +++ b/support-d/utils/fixbug.pl @@ -49,7 +49,7 @@ my $gitcmd; if ($auto) { if ($opts{msg}) { $opts{msg} =~ s/%s/$sum/; - $opts{msg} =~ s/%b/$bug/; + $opts{msg} =~ s/%b/$opts{bug}/; $gitcmd = "git commit $args -m \"$opts{msg}\""; } else { $gitcmd = "git commit $args -m \"$opts{bug} #resolve [$sum]\"";