![]() |
A mysterious error, since the shell grammar sure looks OK to me:
jpradley:boss 392% bin/notify 'doneq/q1233' 'failed' '1:15'
bin/notify: syntax error at line 617: `done' unexpected
I have convinced myself that there is a problem with /bin/sh
in my OS, and have bug-reported it.
I edited the first line of bin/notify:
s/sh/ksh
and the notification occured as expected.
Which leads to this question: why does the template for 'notify' have /bin/sh hardcoded, instead of using
SCRIPT_SH="/bin/ksh"
that I had explicitly set in config.site?
____________________ HylaFAX(tm) Users Mailing List _______________________ To subscribe/unsubscribe, click http://lists.hylafax.org/cgi-bin/lsg2.cgi On UNIX: mail -s unsubscribe hylafax-users-request@xxxxxxxxxxx < /dev/null *To learn about commercial HylaFAX(tm) support, mail sales@xxxxxxxxx*