unofficial mirror of notmuch@notmuchmail.org
 help / color / mirror / code / Atom feed
* [PATCH] configure: resolve real path to bash
@ 2019-01-18 14:43 Đoàn Trần Công Danh
  2019-01-30 19:41 ` David Bremner
  0 siblings, 1 reply; 8+ messages in thread
From: Đoàn Trần Công Danh @ 2019-01-18 14:43 UTC (permalink / raw)
  To: notmuch; +Cc: Đoàn Trần Công Danh

The old code somehow resolves to `bin/sh' on Arch Linux/Void Linux
auto build systems.

cf:
https://travis-ci.org/void-linux/void-packages/jobs/470139880#L1691

Signed-off-by: Đoàn Trần Công Danh <congdanhqx@gmail.com>
---
 configure | 1 +
 1 file changed, 1 insertion(+)

diff --git a/configure b/configure
index b2200be0..84a74b17 100755
--- a/configure
+++ b/configure
@@ -563,6 +563,7 @@ printf "Checking for bash... "
 if command -v ${BASH} > /dev/null; then
     have_bash=1
     bash_absolute=$(command -v ${BASH})
+    bash_absolute=$(readlink -f "$bash_absolute")
     printf "Yes (%s).\n" "$bash_absolute"
 else
     have_bash=0
-- 
2.20.1.352.g40155ab247

^ permalink raw reply related	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2019-01-31 17:46 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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
2019-01-31  1:34         ` David Bremner
2019-01-31 17:46           ` Danh Doan

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).