Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 133659 - mgetty 1.1.35 - faxrunq syntax error
Summary: mgetty 1.1.35 - faxrunq syntax error
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High critical (vote)
Assignee: Gentoo Dialup Developers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-05-18 00:03 UTC by Fritz Praus
Modified: 2006-05-18 05:52 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Fix for syntax error (faxrunq.patch,1.28 KB, patch)
2006-05-18 01:52 UTC, Fritz Praus
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Fritz Praus 2006-05-18 00:03:25 UTC
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 Alin Năstac (RETIRED) gentoo-dev 2006-05-18 01:12:37 UTC
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 Fritz Praus 2006-05-18 01:52:51 UTC
Created attachment 86985 [details, diff]
Fix for syntax error

thanks for your help, seems to work
Comment 3 Alin Năstac (RETIRED) gentoo-dev 2006-05-18 05:52:12 UTC
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.