Bug 133659 - mgetty 1.1.35 - faxrunq syntax error
Bug#: 133659 Product:  Gentoo Linux Version: 2006.0 Platform: x86
OS/Version: Linux Status: RESOLVED Severity: critical Priority: P2
Resolution: FIXED Assigned To: net-dialup@gentoo.org Reported By: fritz@praus.at
Component: Ebuilds
URL: 
Summary: mgetty 1.1.35 - faxrunq syntax error
Keywords:  
Status Whiteboard: 
Opened: 2006-05-18 00:03 0000
Description:   Opened: 2006-05-18 00:03 0000
since 1.1.35 the following syntax error occurs

/usr/bin/faxrunq: line 350: unexpected EOF while looking for matching `''
/usr/bin/faxrunq: line 374: syntax error: unexpected end of file

which is this line
$echo `dirname $job`"|$MAIL_TO|| $PHONE |-$status|"`date '+%Y%m%d
%H:%M:%S`"|$AH|fail $status: $why" >>$FAX_ACCT

problem also will occur in lines 246 and 317

------- Comment #1 From Alin Năstac 2006-05-18 01:12:37 0000 -------
Please replace
  `date '+%Y%m%d %H:%M:%S`
with
  `date '+%Y%m%d %H:%M:%S'`
and tell me if it works.

------- Comment #2 From Fritz Praus 2006-05-18 01:52:51 0000 -------
Created an attachment (id=86985) [details]
Fix for syntax error

thanks for your help, seems to work

------- Comment #3 From Alin Năstac 2006-05-18 05:52:12 0000 -------
since the old faxrunq script it's obviously broken, I've fixed this bug in
1.1.35-r1, submitting the new revision with the exact same keywords as the late
1.1.35 ebuild.