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

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

Date: Wed, 30 Jan 2019 21:46:56 +0200

To: David Bremner, Đoàn Trần Công Danh, notmuch@notmuchmail.org

Cc:

From: Tomi Ollila


On Wed, Jan 30 2019, David Bremner wrote:

> Đ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
>
> I welcome input on this.

I'd choose your version. readlink(1) smells somewhat unportable (namual
page does mention anything else than it is part of gnu coreutils...

Tomi

>
> One issue is that readlink(1) is not in POSIX, so we can expect some
> portability pains.
>
> d
> _______________________________________________
> notmuch mailing list
> notmuch@notmuchmail.org
> https://notmuchmail.org/mailman/listinfo/notmuch
_______________________________________________
notmuch mailing list
notmuch@notmuchmail.org
https://notmuchmail.org/mailman/listinfo/notmuch

Thread: