]> git.notmuchmail.org Git - notmuch/blobdiff - configure
configure: replace $(realpath emacs) with $(cd emacs && pwd -P)
[notmuch] / configure
index 40e8b2559e86b40985ef2c6dc142eb0104c3ddb6..cfa9c09bd3dc4c186c163c6b223b56598789ba3e 100755 (executable)
--- 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.