diff options
author | 2021-03-22 09:59:59 +0100 | |
---|---|---|
committer | 2021-03-22 09:59:59 +0100 | |
commit | 876e56bc80f959238cb9e88ca9599eb80586c6de (patch) | |
tree | 42a881cec4f4c650e354980243f61d8e9480d501 /eclass | |
parent | app-emacs/emacs-common: Renamed from app-emacs/emacs-common-gentoo (diff) | |
download | emacs-876e56bc80f959238cb9e88ca9599eb80586c6de.tar.gz emacs-876e56bc80f959238cb9e88ca9599eb80586c6de.tar.bz2 emacs-876e56bc80f959238cb9e88ca9599eb80586c6de.zip |
elisp-common.eclass: Sync from gentoo repo
Signed-off-by: Ulrich Müller <ulm@gentoo.org>
Diffstat (limited to 'eclass')
-rw-r--r-- | eclass/elisp-common.eclass | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/eclass/elisp-common.eclass b/eclass/elisp-common.eclass index ac5fc20..832fc19 100644 --- a/eclass/elisp-common.eclass +++ b/eclass/elisp-common.eclass @@ -234,6 +234,8 @@ elisp-emacs-version() { rm -f "${T}"/emacs-version.el if [[ ${ret} -ne 0 ]]; then eerror "elisp-emacs-version: Failed to run ${EMACS}" + [[ $(realpath ${EMACS} 2>/dev/null) == */emacs* ]] \ + || eerror "This package needs GNU Emacs" return ${ret} fi if [[ -z ${version} ]]; then |