[PATCH] configure: resolve real path to bash

Đoàn Trần Công Danh congdanhqx at gmail.com
Fri Jan 18 06:43:54 PST 2019


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 at 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



More information about the notmuch mailing list