]> git.notmuchmail.org Git - notmuch/commitdiff
configure: SC2016: Expressions don't expand in single quotes
authorJani Nikula <jani@nikula.org>
Wed, 13 Apr 2016 18:32:49 +0000 (21:32 +0300)
committerDavid Bremner <david@tethera.net>
Mon, 2 May 2016 00:21:53 +0000 (21:21 -0300)
Fix shellcheck warnings. Use double quotes but escape $ to make it
look more intentional.

configure

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