commit 192719b6f237d9e2fbbc00ea6d9bce788ee46f5e Author: Moritz Klammler Date: Sun Sep 20 17:30:32 2020 +0200 Fix duplication of VALUE when using texi2any --pdf -D 'VAR VALUE'. * tp/texi2any.pl (makeinfo_help): Fix accidental duplication of variable value passed via texi2any's -D option to texi2dvi. diff --git a/ChangeLog b/ChangeLog index d42c29982..764ef0d5a 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2020-09-20 Moritz Klammler + + * tp/texi2any.pl (makeinfo_help): Fix accidental duplication of + variable value passed via texi2any's -D option to texi2dvi. + 2020-09-20 Gavin Smith * doc/texinfo.texi (Headings Introduced): Remove text that diff --git a/tp/texi2any.pl b/tp/texi2any.pl index f6693eae3..00f31702c 100755 --- a/tp/texi2any.pl +++ b/tp/texi2any.pl @@ -863,7 +863,7 @@ There is NO WARRANTY, to the extent permitted by law.\n"), "2017"; push @texi2dvi_args, "--command=\@set $var 1"; } else { $parser_default_options->{'values'}->{$field[0]} = $field[1]; - push @texi2dvi_args, "--command=\@set $var $field[1]"; + push @texi2dvi_args, "--command=\@set $field[0] $field[1]"; } }, 'U=s' => sub {