Opened 14 years ago

Closed 14 years ago

#1613 closed patch (fixed)

mythfilldatabasecron script has invalid mail command

Reported by: randallb@… Owned by: Isaac Richards
Priority: minor Milestone: unknown
Component: mythtv Version:
Severity: medium Keywords:
Cc: Ticket locked: no

Description

The mail command in the mythfilldatabasecron script uses the here document <<-END that allows for indentation by stripping out all leading tab characters. However, spaces appear to have been used for indentation, preventing the here document to function properly (spaces aren't stripped) and resulting in "syntax error: unexpected end of file" upon execution.

I'm attaching a patch that has tabs substituted for the leading spaces.

Here's a link to the script: http://svn.mythtv.org/trac/browser/trunk/mythtv/configfiles/mythfilldatabasecron

Attachments (1)

mythfilldatabasecron.patch (726 bytes) - added by randallb@… 14 years ago.
Patch for mythfilldatabasecron - fixes the here document in the mail command

Download all attachments as: .zip

Change History (2)

Changed 14 years ago by randallb@…

Attachment: mythfilldatabasecron.patch added

Patch for mythfilldatabasecron - fixes the here document in the mail command

comment:1 Changed 14 years ago by anonymous

Resolution: fixed
Status: newclosed

Closed in [9643], patch applied.

Note: See TracTickets for help on using tickets.