From 6c9a1285656a37dee2ddd2f9295370bd00ebeb71 Mon Sep 17 00:00:00 2001 From: David Caldwell Date: Fri, 22 Feb 2019 04:15:43 -0800 Subject: [PATCH] debian/emacsen-install: Support byte compiling on plain 'emacs' flavor --- debian/emacsen-install | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/debian/emacsen-install b/debian/emacsen-install index 29cf140..998c3be 100644 --- a/debian/emacsen-install +++ b/debian/emacsen-install @@ -8,7 +8,6 @@ FLAVOR=$1 PACKAGE=commit-patch -if [ ${FLAVOR} = emacs ]; then exit 0; fi echo install/${PACKAGE}: Handling install for emacsen flavor ${FLAVOR} @@ -35,7 +34,9 @@ install -m 755 -d ${ELCDIR} cd ${ELDIR} FILES=`echo *.el` cd ${ELCDIR} -ln -sf ${ELRELDIR}/*.el . +if [ $ELDIR != $ELCDIR ]; then + ln -sf ${ELRELDIR}/*.el . +fi cat << EOF > path.el (debian-pkg-add-load-path-item ".") -- 2.51.2