groff-commit
[Top][All Lists]
Advanced

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

[groff] 04/04: [pdfpic]: Fix breakage if no temp dir defined.


From: G. Branden Robinson
Subject: [groff] 04/04: [pdfpic]: Fix breakage if no temp dir defined.
Date: Fri, 25 Mar 2022 09:35:41 -0400 (EDT)

gbranden pushed a commit to branch master
in repository groff.

commit 5cf4d08deba2a46018da840c581dd5efa3fc4e50
Author: G. Branden Robinson <g.branden.robinson@gmail.com>
AuthorDate: Fri Mar 25 18:16:43 2022 +1100

    [pdfpic]: Fix breakage if no temp dir defined.
    
    * tmac/pdfpic.tmac (PDFPIC): Fix breakage when no temporary directory
      environment variables are defined: actually use string interpolation
      syntax in comparand to output comparison operator.  Problem introduced
      by me in commits adc1999af and 24900cf6d, 15 February.
---
 ChangeLog        | 8 ++++++++
 tmac/pdfpic.tmac | 4 ++--
 2 files changed, 10 insertions(+), 2 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index d6008d03..de7b166d 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,11 @@
+2022-03-25  G. Branden Robinson <g.branden.robinson@gmail.com>
+
+       * tmac/pdfpic.tmac (PDFPIC): Fix breakage when no temporary
+       directory environment variables are defined: actually use string
+       interpolation syntax in comparand to output comparison
+       operator.  Problem introduced by me in commits adc1999af and
+       24900cf6d, 15 February.
+
 2022-03-25  G. Branden Robinson <g.branden.robinson@gmail.com>
 
        * font/devX100-12/devX100-12.am:
diff --git a/tmac/pdfpic.tmac b/tmac/pdfpic.tmac
index 0d668389..1e839c19 100644
--- a/tmac/pdfpic.tmac
+++ b/tmac/pdfpic.tmac
@@ -152,9 +152,9 @@
 .    rr pdfpic*is-on-windows
 .  \}
 .
-.  if 'pdfpic*temporary-directory'' .pdfpic@get-temporary-directory /tmp
+.  if '\\*[pdfpic*temporary-directory]'' .pdfpic@get-temporary-directory /tmp
 .
-.  if 'pdfpic*temporary-directory'' \{\
+.  if '\\*[pdfpic*temporary-directory]'' \{\
 .    pdfpic@error cannot locate a usable temporary directory; \
 skipping '\\$1'
 .    return



reply via email to

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