void-packages/srcpkgs/notmuch/patches/bash_absolute.patch
Đoàn Trần Công Danh 5b29057b62 notmuch: fix broken notmuch-emacs-mua
The old notmuch-emacs-mua's shebang is `/bin/sh`,
but that script requires some bashisms.
2019-01-19 04:11:22 -02:00

10 lines
300 B
Diff

--- configure.orig
+++ 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