gbranden pushed a commit to branch master
in repository groff.
commit 5cf4d08deba2a46018da840c581dd5efa3fc4e50
Author: G. Branden Robinson <[email protected]>
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 <[email protected]>
+
+ * 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 <[email protected]>
* 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
_______________________________________________
Groff-commit mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/groff-commit