From e5abf3fc52980bc54984b8e228d41c7177c6e3bb Mon Sep 17 00:00:00 2001 From: Stephen Hassard Date: Wed, 9 Jul 2014 06:54:46 -0700 Subject: [PATCH] Fix regression in findutils-4.5 --- Makefile.in | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Makefile.in b/Makefile.in index 76a0304..97002e4 100644 --- a/Makefile.in +++ b/Makefile.in @@ -615,8 +615,9 @@ install-arch-indep: lisp install-info install-man ${INSTALL_ARCH_INDEP_EXTRA} [ -z "${GZIP_PROG}" ] || { \ echo "Compressing *.el ..." && \ cd "$(DESTDIR)${lispdir}" && \ - find . -name '*.elc' -exec $(SHELL) -c \ - '${GZIP_PROG} -9n `expr "$$1" : "\\(.*\\)c"`' dummy '{}' ';'; \ + find . -name '*.el' \ + -exec ${SHELL} -c 'test -f {}c' \; \ + -exec ${GZIP_PROG} -9n {} \; ; \ } -chmod -R a+r "$(DESTDIR)${datadir}/emacs/${version}" ${COPYDESTS} -- 1.8.3.1