diff options
| author | Paul Eggert | 2014-02-14 00:05:18 -0800 |
|---|---|---|
| committer | Paul Eggert | 2014-02-14 00:05:18 -0800 |
| commit | 96fbe2b900d47188c358af0fb06b0253a945a027 (patch) | |
| tree | 25957e35fd3a78cadf58d8d8628157ae8c6b979e | |
| parent | b8630261dda1988bd1cabe7fc1b567b6e140eabb (diff) | |
| download | emacs-96fbe2b900d47188c358af0fb06b0253a945a027.tar.gz emacs-96fbe2b900d47188c358af0fb06b0253a945a027.zip | |
* 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
| -rw-r--r-- | ChangeLog | 6 | ||||
| -rw-r--r-- | Makefile.in | 5 |
2 files changed, 9 insertions, 2 deletions
| @@ -1,3 +1,9 @@ | |||
| 1 | 2014-02-14 Paul Eggert <eggert@cs.ucla.edu> | ||
| 2 | |||
| 3 | * Makefile.in (install-arch-indep): Allow ' ' in destdir (Bug#16717). | ||
| 4 | This fixes a bug in the previous change. Also, use $(SHELL) | ||
| 5 | rather than sh, as that's more likely to be portable. | ||
| 6 | |||
| 1 | 2014-02-13 Paul Eggert <eggert@cs.ucla.edu> | 7 | 2014-02-13 Paul Eggert <eggert@cs.ucla.edu> |
| 2 | 8 | ||
| 3 | * Makefile.in (install-arch-indep): Simplify (Bug#16717). | 9 | * Makefile.in (install-arch-indep): Simplify (Bug#16717). |
diff --git a/Makefile.in b/Makefile.in index 44ba084bee4..76a030407b9 100644 --- a/Makefile.in +++ b/Makefile.in | |||
| @@ -614,8 +614,9 @@ install-arch-indep: lisp install-info install-man ${INSTALL_ARCH_INDEP_EXTRA} | |||
| 614 | ${write_subdir} || true | 614 | ${write_subdir} || true |
| 615 | [ -z "${GZIP_PROG}" ] || { \ | 615 | [ -z "${GZIP_PROG}" ] || { \ |
| 616 | echo "Compressing *.el ..." && \ | 616 | echo "Compressing *.el ..." && \ |
| 617 | find "$(DESTDIR)${lispdir}" -name '*.elc' -exec sh -c \ | 617 | cd "$(DESTDIR)${lispdir}" && \ |
| 618 | '${GZIP_PROG} -9n `expr "$$@" : "\\(.*\\)c"`' dummy '{}' ';'; \ | 618 | find . -name '*.elc' -exec $(SHELL) -c \ |
| 619 | '${GZIP_PROG} -9n `expr "$$1" : "\\(.*\\)c"`' dummy '{}' ';'; \ | ||
| 619 | } | 620 | } |
| 620 | -chmod -R a+r "$(DESTDIR)${datadir}/emacs/${version}" ${COPYDESTS} | 621 | -chmod -R a+r "$(DESTDIR)${datadir}/emacs/${version}" ${COPYDESTS} |
| 621 | 622 | ||