Thanks for your quick reply!

The suggested changes reduce the number of errors during the notification-process, but the attachment is still not generated.

Running notify manually shows that one error still occurs:

lise:/var/spool/hylafax# bin/notify "doneq/q18" "done" "0:51"
FILE 1: docq/doc18.ps
Converting docq/doc18.ps to PDF
Using ps2pdf
basename: extra operand `ESP'
Try `basename --help' for more information.


...and here the sh -x bin/notify "doneq/q18" "done" "0:51" excerpt:

Using ps2pdf
++++ basename docq/doc18.ps .ps
+++ name=doc18
+++ ps2pdf docq/doc18.ps /tmp/tmp-25724/doc18.pdf
+++ echo /tmp/tmp-25724/doc18.pdf
++ a_file='%%[ ProductName: ESP Ghostscript ]%%
%%[Page: 1]%%
%%[LastPage]%%
/tmp/tmp-25724/doc18.pdf'
+++ basename '%%[' ProductName: ESP Ghostscript ']%%' '%%[Page:' '1]%%' '%%[LastPage]%%' /tmp/tmp-25724/doc18.pdf
basename: extra operand `ESP'
Try `basename --help' for more information.
++ a_name=
++ '[' -f '%%[ ProductName: ESP Ghostscript ]%%
%%[Page: 1]%%
%%[LastPage]%%
/tmp/tmp-25724/doc18.pdf' ']'
++ printf %s ''


Please let me know if you need any additional data.

Thanks,
Hans



--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to