summaryrefslogtreecommitdiff
path: root/dh_elpa
diff options
context:
space:
mode:
Diffstat (limited to 'dh_elpa')
-rwxr-xr-xdh_elpa4
1 files changed, 3 insertions, 1 deletions
diff --git a/dh_elpa b/dh_elpa
index 93332ce..fef3c27 100755
--- a/dh_elpa
+++ b/dh_elpa
@@ -1,3 +1,5 @@
#!/bin/sh
-emacs -batch -Q -l dh-elpa.el -f dhelpa-batch-install-file "$@"
+LISPDIR=${LISPDIR:-/usr/share/emacs/site-lisp/elpa/dh-elpa-${VERSION}}
+
+emacs -batch -Q -l ${LISPDIR}/dh-elpa.el -f dhelpa-batch-install-file "$@"