texinfo-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

branch master updated: * tp/Texinfo/Convert/LaTeX.pm (convert_math_to_im


From: Patrice Dumas
Subject: branch master updated: * tp/Texinfo/Convert/LaTeX.pm (convert_math_to_images): add parentheses to Cwd::abs_path to avoid being considered as a bareword. Found in the opencsw CI.
Date: Tue, 24 Dec 2024 13:42:22 -0500

This is an automated email from the git hooks/post-receive script.

pertusus pushed a commit to branch master
in repository texinfo.

The following commit(s) were added to refs/heads/master by this push:
     new 986be8f3a6 * tp/Texinfo/Convert/LaTeX.pm (convert_math_to_images): add 
parentheses to Cwd::abs_path to avoid being considered as a bareword. Found in 
the opencsw CI.
986be8f3a6 is described below

commit 986be8f3a6d67b802eb6b26116fb5c2a45e54a21
Author: Patrice Dumas <pertusus@free.fr>
AuthorDate: Tue Dec 24 19:42:21 2024 +0100

    * tp/Texinfo/Convert/LaTeX.pm (convert_math_to_images): add
    parentheses to Cwd::abs_path to avoid being considered as a bareword.
    Found in the opencsw CI.
---
 ChangeLog                   | 6 ++++++
 tp/Texinfo/Convert/LaTeX.pm | 2 +-
 2 files changed, 7 insertions(+), 1 deletion(-)

diff --git a/ChangeLog b/ChangeLog
index 4b4a32a50c..5465bd3477 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2024-12-24  Patrice Dumas  <pertusus@free.fr>
+
+       * tp/Texinfo/Convert/LaTeX.pm (convert_math_to_images): add
+       parentheses to Cwd::abs_path to avoid being considered as a bareword.
+       Found in the opencsw CI.
+
 2024-12-24  Patrice Dumas  <pertusus@free.fr>
 
        * tp/Texinfo/ParserNonXS.pm: remove _print_command_args_texi, it
diff --git a/tp/Texinfo/Convert/LaTeX.pm b/tp/Texinfo/Convert/LaTeX.pm
index 3b96219a94..91af7631b8 100644
--- a/tp/Texinfo/Convert/LaTeX.pm
+++ b/tp/Texinfo/Convert/LaTeX.pm
@@ -4722,7 +4722,7 @@ sub convert_math_to_images($$$;$)
   my ($encoded_math2img_out_dir, $math2img_out_dir_encoding)
     = $self->encoded_output_file_name($math2img_out_dir);
 
-  my $math2img_initial_dir = Cwd::abs_path;
+  my $math2img_initial_dir = Cwd::abs_path();
   unless (chdir $encoded_math2img_out_dir) {
     $self->converter_document_warn(
             sprintf(__("math to images: chdir %s failed: %s"),



reply via email to

[Prev in Thread] Current Thread [Next in Thread]