Commit 5d9e58e8 authored by Richard M. Stallman's avatar Richard M. Stallman

(do-install): Use umask 022 in copying etc and lisp dirs.

parent 534dbc97
......@@ -268,7 +268,7 @@ do-install: mkdir
[ -d $${dir} ] \
&& [ `(cd $${dir} && /bin/pwd)` != `(cd $${dest} && /bin/pwd)` ] \
&& (echo "Copying $${dir}..." ; \
(cd $${dir}; tar -cf - . )|(cd $${dest};umask 0; tar -xvf - ); \
(cd $${dir}; tar -cf - . )|(cd $${dest};umask 022; tar -xvf - ); \
for subdir in `find $${dest} -type d ! -name RCS -print` ; do \
rm -rf $${subdir}/RCS ; \
rm -rf $${subdir}/CVS ; \
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment