mirror of
https://git.notmuchmail.org/git/notmuch
synced 2024-12-22 01:14:53 +01:00
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).
This commit is contained in:
parent
bdb6956afd
commit
b042a59cdf
1 changed files with 1 additions and 1 deletions
2
configure
vendored
2
configure
vendored
|
@ -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.
|
||||
|
|
Loading…
Reference in a new issue