changeset 104884:8f9d6010a478

(install): Set umask to world-readable before creating directories.
author Glenn Morris <rgm@gnu.org>
date Wed, 09 Sep 2009 02:32:48 +0000
parents aa07c84cb085
children 978084a76b60
files leim/ChangeLog leim/Makefile.in
diffstat 2 files changed, 6 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/leim/ChangeLog	Wed Sep 09 02:32:25 2009 +0000
+++ b/leim/ChangeLog	Wed Sep 09 02:32:48 2009 +0000
@@ -1,3 +1,8 @@
+2009-09-09  Glenn Morris  <rgm@gnu.org>
+
+	* Makefile.in (install): Set umask to world-readable before creating
+	directories.
+
 2009-08-31  Juri Linkov  <juri@jurta.org>
 
 	* quail/ipa.el ("ipa"): Set `forget-last-selection' to nil.
--- a/leim/Makefile.in	Wed Sep 09 02:32:25 2009 +0000
+++ b/leim/Makefile.in	Wed Sep 09 02:32:48 2009 +0000
@@ -224,7 +224,7 @@
 
 install: all
 	if [ ! -d ${INSTALLDIR} ] ; then \
-          ${srcdir}/${dot}${dot}/mkinstalldirs ${INSTALLDIR}; \
+          umask 022; ${srcdir}/${dot}${dot}/mkinstalldirs ${INSTALLDIR}; \
 	else true; fi
 	if [ x`(cd ${INSTALLDIR} && /bin/pwd)` != x`(/bin/pwd)` ] ; then \
 	  rm -f ${INSTALLDIR}/leim-list.el; \