unofficial mirror of notmuch@notmuchmail.org
 help / color / mirror / code / Atom feed
From: Danh Doan <congdanhqx@gmail.com>
To: David Bremner <david@tethera.net>, notmuch@notmuchmail.org
Subject: Re: [PATCH] configure: resolve real path to bash
Date: Thu, 31 Jan 2019 07:08:12 +0700	[thread overview]
Message-ID: <87tvhpn0yb.fsf@congdanhqx.xyz> (raw)
In-Reply-To: <87ftt9ltoa.fsf@tethera.net>

David Bremner <david@tethera.net> writes:

> Danh Doan <congdanhqx@gmail.com> writes:
>
>>
>> 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.

I have nothing against your approach,
but I still slightly prefer to be able to run `configure` script without
setting environment variable.

Is it acceptable to emulate `realpath` in `configure` script?
If yes, we could borrow this script (MIT licensed).

https://github.com/chriskempson/base16-shell/blob/master/realpath/realpath.sh

-- 
Danh

  reply	other threads:[~2019-01-31  0:08 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-01-18 14:43 [PATCH] configure: resolve real path to bash Đoàn Trần Công Danh
2019-01-30 19:41 ` David Bremner
2019-01-30 19:46   ` Tomi Ollila
2019-01-30 21:06   ` Danh Doan
2019-01-30 21:30     ` David Bremner
2019-01-31  0:08       ` Danh Doan [this message]
2019-01-31  1:34         ` David Bremner
2019-01-31 17:46           ` Danh Doan

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://notmuchmail.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87tvhpn0yb.fsf@congdanhqx.xyz \
    --to=congdanhqx@gmail.com \
    --cc=david@tethera.net \
    --cc=notmuch@notmuchmail.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://yhetil.org/notmuch.git/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).