aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJani Nikula <jani@nikula.org>2016-04-13 21:32:49 +0300
committerDavid Bremner <david@tethera.net>2016-05-01 21:21:53 -0300
commit2c1a7321e9054e0bd8a7ebf1b4316baa4a65504d (patch)
treec83b6be9344494a3cd1e32faea105716ece55ff4
parentb191de511e6148112fa2432779f6dc6c7cb501f9 (diff)
configure: SC2016: Expressions don't expand in single quotes
Fix shellcheck warnings. Use double quotes but escape $ to make it look more intentional.
-rwxr-xr-xconfigure4
1 files changed, 2 insertions, 2 deletions
diff --git a/configure b/configure
index f3498e3e..6231d2b7 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... "