]> git.eshelyaron.com Git - emacs.git/commitdiff
($(DESTDIR)${archlibdir}): Set umask to world-readable before creating
authorGlenn Morris <rgm@gnu.org>
Wed, 9 Sep 2009 02:32:25 +0000 (02:32 +0000)
committerGlenn Morris <rgm@gnu.org>
Wed, 9 Sep 2009 02:32:25 +0000 (02:32 +0000)
directories and game score files.

lib-src/ChangeLog
lib-src/Makefile.in

index 04bc7a700fb50bb3854998d16e0e327253a8ff86..7970ee5aae2baba2ccdd0fa277dd2ef0dc28e2c2 100644 (file)
@@ -1,3 +1,8 @@
+2009-09-09  Glenn Morris  <rgm@gnu.org>
+
+       * Makefile.in ($(DESTDIR)${archlibdir}): Set umask to world-readable
+       before creating directories and game score files.
+
 2009-08-19  Glenn Morris  <rgm@gnu.org>
 
        * cvtmail.c: Remove file.
index 45ab85a92fda28f04ff337945d16554cd7b88944..0b164936c781c2e8d13059cfe4c30703a4c930a7 100644 (file)
@@ -298,14 +298,14 @@ maybe-blessmail: BLESSMAIL
 $(DESTDIR)${archlibdir}: all
        @echo
        @echo "Installing utilities run internally by Emacs."
-       $(top_srcdir)/mkinstalldirs $(DESTDIR)${archlibdir}
+       umask 022; $(top_srcdir)/mkinstalldirs $(DESTDIR)${archlibdir}
        if [ `(cd $(DESTDIR)${archlibdir} && /bin/pwd)` != `/bin/pwd` ]; then \
          for file in ${UTILITIES}; do \
            $(INSTALL_PROGRAM) $(INSTALL_STRIP) $$file $(DESTDIR)${archlibdir}/$$file ; \
          done ; \
         fi
-       $(top_srcdir)/mkinstalldirs $(DESTDIR)${gamedir}
-       touch $(DESTDIR)${gamedir}/snake-scores
+       umask 022; $(top_srcdir)/mkinstalldirs $(DESTDIR)${gamedir}; \
+       touch $(DESTDIR)${gamedir}/snake-scores; \
        touch $(DESTDIR)${gamedir}/tetris-scores
 /* If the following commands fail, that is not a big deal.
    update-game-score will detect at runtime that it is not setuid,