Commit 96fbe2b9 authored by Paul Eggert's avatar Paul Eggert

* Makefile.in (install-arch-indep): Allow ' ' in destdir.

This fixes a bug in the previous change.  Also, use $(SHELL)
rather than sh, as that's more likely to be portable.

Fixes: debbugs:16717
parent b8630261
2014-02-14 Paul Eggert <eggert@cs.ucla.edu>
* Makefile.in (install-arch-indep): Allow ' ' in destdir (Bug#16717).
This fixes a bug in the previous change. Also, use $(SHELL)
rather than sh, as that's more likely to be portable.
2014-02-13 Paul Eggert <eggert@cs.ucla.edu>
* Makefile.in (install-arch-indep): Simplify (Bug#16717).
......
......@@ -614,8 +614,9 @@ install-arch-indep: lisp install-info install-man ${INSTALL_ARCH_INDEP_EXTRA}
${write_subdir} || true
[ -z "${GZIP_PROG}" ] || { \
echo "Compressing *.el ..." && \
find "$(DESTDIR)${lispdir}" -name '*.elc' -exec sh -c \
'${GZIP_PROG} -9n `expr "$$@" : "\\(.*\\)c"`' dummy '{}' ';'; \
cd "$(DESTDIR)${lispdir}" && \
find . -name '*.elc' -exec $(SHELL) -c \
'${GZIP_PROG} -9n `expr "$$1" : "\\(.*\\)c"`' dummy '{}' ';'; \
}
-chmod -R a+r "$(DESTDIR)${datadir}/emacs/${version}" ${COPYDESTS}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment