From: Tomi Ollila Date: Tue, 20 Oct 2020 06:57:11 +0000 (+0300) Subject: configure: replace $(realpath emacs) with $(cd emacs && pwd -P) X-Git-Tag: 0.31.1~8 X-Git-Url: https://git.cworth.org/git?p=notmuch;a=commitdiff_plain;h=b042a59cdf8be7ad215268eee32d4cc114d312bb configure: replace $(realpath emacs) with $(cd emacs && pwd -P) For portability; the realpath command (e.g. from GNU coreutils) is not so common outside Linux systems. The "$(cd emacs && pwd -P)" replaces that realpath(1) execution suitably in this context (using just bash(1) builtins). --- diff --git a/configure b/configure index 40e8b255..cfa9c09b 100755 --- a/configure +++ b/configure @@ -1536,7 +1536,7 @@ EOF if [ $WITH_PYTHON_DOCS = "1" ]; then echo "tags.add('WITH_PYTHON')" fi - printf "rsti_dir = '%s'\n" $(realpath emacs) + printf "rsti_dir = '%s'\n" "$(cd emacs && pwd -P)" } > sphinx.config # Finally, after everything configured, inform the user how to continue.