Re: [PATCH] configure: resolve real path to bash

Subject: Re: [PATCH] configure: resolve real path to bash

Date: Wed, 30 Jan 2019 17:30:45 -0400

To: Danh Doan, notmuch@notmuchmail.org

Cc:

From: David Bremner


Danh Doan <congdanhqx@gmail.com> writes:

> David Bremner <david@tethera.net> writes:
>
>> Đoàn Trần Công Danh <congdanhqx@gmail.com> writes:
>>
>>> The old code somehow resolves to `bin/sh' on Arch Linux/Void Linux
>>> auto build systems.
>>>
>>
>> I'm not sure if this is better or worse than
>>
>>     https://nmbug.notmuchmail.org/nmweb/show/20190117021132.28327-1-david%40tethera.net
>
> Sorry for the noise, I somehow couldn't find your patch at that time.
> And I only recognized readlink(1) is not POSIX after sending the patch.
>
> I wonder if it's better to keep `/usr/bin/env bash` instead of resolving
> bash to specific file. Something like this:
>

This will require Debian (and I think Fedora) to do the resolution
themselves, because they don't support "#! /usr/bin/env interpreter"
Of course the distro specific patches are slightly less complicated,
since they can hard code the location of bash.

d
_______________________________________________
notmuch mailing list
notmuch@notmuchmail.org
https://notmuchmail.org/mailman/listinfo/notmuch

Thread: