1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-12-21 10:24:55 +00:00

* Makefile.in (install-arch-indep): Avoid readdir race.

Fixes: debbugs:17971
This commit is contained in:
Paul Eggert 2014-07-11 10:28:53 -07:00
parent 46b7604ea4
commit c9a1635c38
2 changed files with 7 additions and 2 deletions

View File

@ -1,3 +1,7 @@
2014-07-11 Paul Eggert <eggert@cs.ucla.edu>
* Makefile.in (install-arch-indep): Avoid readdir race (Bug#17971).
2014-06-20 Paul Eggert <eggert@cs.ucla.edu>
* configure.ac: Warn about --enable-link-time-optimization's issues

View File

@ -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 '{}' ';'; \
for f in `find . -name "*.elc" -print | sed 's/.elc$$/.el/'`; do \
${GZIP_PROG} -9n "$$f"; \
done; \
}
-chmod -R a+r "$(DESTDIR)${datadir}/emacs/${version}" ${COPYDESTS}