lr-20001211 on FreeBSD 4.1-STABLE?
Brad Knowles
blk at skynet.be
Wed Dec 13 19:57:19 CET 2000
At 2:31 PM +0100 2000/12/13, Joost van Baal wrote:
> You changed 'mutt -F $MUTTRC' in /usr/bin/mailx or /usr/ucb/Mail, as
> appropriate, I assume? That'll work.
Correct, that does work.
> Your /bin/sh chokes on
>
> if ! test $# -gt 3
Ahh, okay. For some strange reason, I thought it was a Perl problem.
> Btw, you should use lr_log2report, not lr_log2mail.
Oh, okay. I didn't know that. I'll have to re-run the tests.
> I doubt if
> the script will possibly run on a solaris machine without severe
> hacking. You could try changing the #!/bin/sh into #!/path/to/bash
> or #!/path/to/ksh. That'll be the fasted workaround, if you've got a
> bash or ksh installed. I am planning to make the shell scripts more
> portable. It's hard for me to test, as you know. The shell scripts
> _do_ run with FreeBSD's and OpenBSD's /bin/sh, however.
We do have bash installed on those machines (it's part of our
standard installation kit we put on virtually all our Solaris boxes),
but it would be nice if this code could be modified so that it
doesn't require bash.
I'll have to try switching to bash to see if that fixes the problem.
Thanks!
--
These are my opinions -- not to be taken as official Skynet policy
======================================================================
Brad Knowles, <blk at skynet.be> || Belgacom Skynet SA/NV
Systems Architect, Mail/News/FTP/Proxy Admin || Rue Colonel Bourg, 124
Phone/Fax: +32-2-706.13.11/12.49 || B-1140 Brussels
http://www.skynet.be || Belgium
"They that can give up essential liberty to obtain a little temporary
safety deserve neither liberty nor safety."
-Benjamin Franklin, Historical Review of Pennsylvania.
--
To UNSUBSCRIBE, email to questions-request at logreport.org with a subject of
"unsubscribe". Trouble? Send an email with subject "help" to
questions-request at logreport.org
More information about the Questions
mailing list