sys-process/cronbase: avoid bash complaining about null bytes
authorTobias Klausmann <klausman@gentoo.org>
Fri, 30 Sep 2016 07:22:54 +0000 (09:22 +0200)
committerTobias Klausmann <klausman@gentoo.org>
Fri, 30 Sep 2016 07:25:22 +0000 (09:25 +0200)
commit7c266d7a1854b3b1b543fb35036d3e4e6c3135cf
treeaca46708236eae6d644c7ab85934f60c76102062
parentee0eacbdfcc6c0bf5e960cd1f96951d9781cdc45
sys-process/cronbase: avoid bash complaining about null bytes

Newer versions of bash warn about null bytes in command substitutions,
so run-crons would generate mails with messages like this:

/usr/sbin/run-crons: line 59: warning: command substitution: ignored null byte in input
/usr/sbin/run-crons: line 59: warning: command substitution: ignored null byte in input
/usr/sbin/run-crons: line 60: warning: command substitution: ignored null byte in input
/usr/sbin/run-crons: line 60: warning: command substitution: ignored null byte in input

Since the warning is not useful and the resultant string has its null
bytes deleted, we might as well delete them with tr and get rid of the
warning.
sys-process/cronbase/cronbase-0.3.7-r2.ebuild [moved from sys-process/cronbase/cronbase-0.3.7-r1.ebuild with 100% similarity]
sys-process/cronbase/files/run-crons-0.3.7