($(DESTDIR)${archlibdir}): Set umask to world-readable before creating

directories and game score files.
This commit is contained in:
Glenn Morris 2009-09-09 02:32:25 +00:00
parent 7dfac189f8
commit c5a139ca22
2 changed files with 8 additions and 3 deletions

View 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.

View 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,