From a7a91c7be696d52ad51b44a3b74d010f12cc093c Mon Sep 17 00:00:00 2001 From: Stephen Hassard Date: Mon, 7 Jul 2014 21:55:27 -0700 Subject: [PATCH] Fix .el compression on CentOS7 --- Makefile.in | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/Makefile.in b/Makefile.in index 76a0304..babc8f2 100644 --- a/Makefile.in +++ b/Makefile.in @@ -614,9 +614,8 @@ install-arch-indep: lisp install-info install-man ${INSTALL_ARCH_INDEP_EXTRA} ${write_subdir} || true [ -z "${GZIP_PROG}" ] || { \ echo "Compressing *.el ..." && \ - cd "$(DESTDIR)${lispdir}" && \ - find . -name '*.elc' -exec $(SHELL) -c \ - '${GZIP_PROG} -9n `expr "$$1" : "\\(.*\\)c"`' dummy '{}' ';'; \ + find "$(DESTDIR)${lispdir}" -name '*.el' \ + -execdir ${SHELL} -c 'test -f {}c' \; -execdir ${GZIP_PROG} {} \; ; \ } -chmod -R a+r "$(DESTDIR)${datadir}/emacs/${version}" ${COPYDESTS} -- 1.9.1