emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] trunk r116442: * Makefile.in (install-arch-indep): Allow '


From: Paul Eggert
Subject: [Emacs-diffs] trunk r116442: * Makefile.in (install-arch-indep): Allow ' ' in destdir.
Date: Fri, 14 Feb 2014 08:05:30 +0000
User-agent: Bazaar (2.6b2)

------------------------------------------------------------
revno: 116442
revision-id: address@hidden
parent: address@hidden
fixes bug: http://debbugs.gnu.org/16717
committer: Paul Eggert <address@hidden>
branch nick: trunk
timestamp: Fri 2014-02-14 00:05:18 -0800
message:
  * 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.
modified:
  ChangeLog                      changelog-20091113204419-o5vbwnq5f7feedwu-1538
  Makefile.in                    makefile.in-20091113204419-o5vbwnq5f7feedwu-446
=== modified file 'ChangeLog'
--- a/ChangeLog 2014-02-13 18:59:24 +0000
+++ b/ChangeLog 2014-02-14 08:05:18 +0000
@@ -1,3 +1,9 @@
+2014-02-14  Paul Eggert  <address@hidden>
+
+       * 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  <address@hidden>
 
        * Makefile.in (install-arch-indep): Simplify (Bug#16717).

=== modified file 'Makefile.in'
--- a/Makefile.in       2014-02-13 18:59:24 +0000
+++ b/Makefile.in       2014-02-14 08:05:18 +0000
@@ -614,8 +614,9 @@
          ${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}
 


reply via email to

[Prev in Thread] Current Thread [Next in Thread]