Le 4 avril 2024 03:43:56 GMT+02:00, David Levine <[email protected]> a écrit :
>I wrote:
>
>> Thomas wrote:
>>
>> > For the reason given above I don't think this would solve it.  I think
>> > these results might be even more explicit:
>> >
>> > $ echo $PATH
>> > /usr/bin/mh:/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games:/snap/bin
>> > $ cp /usr/bin/mh/mhmail ./test
>> > $ ./test
>> > ./test: 1: /home/thomas/mhparam: not found
>> > ./test: 95: exec: /home/thomas/inc: not found
>>
>> The root cause of the problem is that mhmail uses, in effect, `dirname $0`
>> to find the location of the nmh executables.
>>
>> Because /usr/bin/mh is on your PATH, it could instead use `mhparam bindir`.
>
>I just committed that fix to mhmail and sendfiles.
>
>Thank you, Thomas, for reporting this.  Starting with the current HEAD, you
>can symlink mhmail.
>
>David

Wow thanks for this fix! Being able to use nmh as a mailx replacement in Debian 
will be very useful to me.

Thank you again, have a nice day.

-- 
Thomas

Reply via email to