[PATCH 4/4] configure: SC2016: Expressions don't expand in single quotes

Jani Nikula jani at nikula.org
Wed Apr 13 11:32:49 PDT 2016


Fix shellcheck warnings. Use double quotes but escape $ to make it
look more intentional.
---
 configure | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/configure b/configure
index f3498e3ef244..6231d2b7ed2b 100755
--- a/configure
+++ b/configure
@@ -491,11 +491,11 @@ else
 fi
 
 if [ -z "${EMACSLISPDIR}" ]; then
-    EMACSLISPDIR='$(prefix)/share/emacs/site-lisp'
+    EMACSLISPDIR="\$(prefix)/share/emacs/site-lisp"
 fi
 
 if [ -z "${EMACSETCDIR}" ]; then
-    EMACSETCDIR='$(prefix)/share/emacs/site-lisp'
+    EMACSETCDIR="\$(prefix)/share/emacs/site-lisp"
 fi
 
 printf "Checking if emacs is available... "
-- 
2.1.4



More information about the notmuch mailing list