emacs-diffs
[Top][All Lists]
Advanced

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

[Emacs-diffs] /srv/bzr/emacs/emacs-24 r111177: * Makefile.in (install-ar


From: Glenn Morris
Subject: [Emacs-diffs] /srv/bzr/emacs/emacs-24 r111177: * Makefile.in (install-arch-indep): Put back a chmod
Date: Tue, 15 Jan 2013 20:41:31 -0500
User-agent: Bazaar (2.5.0)

------------------------------------------------------------
revno: 111177
committer: Glenn Morris <address@hidden>
branch nick: emacs-24
timestamp: Tue 2013-01-15 20:41:31 -0500
message:
  * Makefile.in (install-arch-indep): Put back a chmod
  that was removed 2012-05-19.  (Bug#13430)
modified:
  ChangeLog
  Makefile.in
=== modified file 'ChangeLog'
--- a/ChangeLog 2013-01-10 04:00:02 +0000
+++ b/ChangeLog 2013-01-16 01:41:31 +0000
@@ -1,3 +1,8 @@
+2013-01-16  Glenn Morris  <address@hidden>
+
+       * Makefile.in (install-arch-indep): Put back a chmod that was
+       removed 2012-05-19.  (Bug#13430)
+
 2013-01-10  Glenn Morris  <address@hidden>
 
        * make-dist: Add options for xz compression and no compression.

=== modified file 'Makefile.in'
--- a/Makefile.in       2013-01-01 09:11:05 +0000
+++ b/Makefile.in       2013-01-16 01:41:31 +0000
@@ -534,6 +534,7 @@
               tar -xvf - && cat > /dev/null) || exit 1; \
          [ "$${dir}" != "${srcdir}/etc" ] || rm -f $${dest}/DOC* ; \
          for subdir in `find $${dest} -type d -print` ; do \
+           chmod a+rx $${subdir} ; \
            rm -f $${subdir}/.gitignore ; \
            rm -f $${subdir}/.arch-inventory ; \
            rm -f $${subdir}/.DS_Store ; \
@@ -568,7 +569,9 @@
            done )
        -chmod -R a+r $(DESTDIR)${datadir}/emacs/${version} ${COPYDESTS}
 
-# The last chmod isn't needed at present.
+## The above chmods are needed because "umask 022; tar ..." is not
+## guaranteed to do the right thing; eg if we are root and tar is
+## preserving source permissions.
 
 ## We install only the relevant DOC file if possible
 ## (ie DOC-${version}.buildnumber), otherwise DOC-${version}*.


reply via email to

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