[Python-checkins] python/dist/src/Lib/distutils/command install_scripts.py,1.14,1.15
akuchling@users.sourceforge.net
akuchling@users.sourceforge.net
Fri, 29 Nov 2002 11:46:01 -0800
Update of /cvsroot/python/python/dist/src/Lib/distutils/command
In directory sc8-pr-cvs1:/tmp/cvs-serv29636
Modified Files:
install_scripts.py
Log Message:
Fix mode on scripts to have the read bit set (noted by Nicholas Riley)
Index: install_scripts.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/distutils/command/install_scripts.py,v
retrieving revision 1.14
retrieving revision 1.15
diff -C2 -d -r1.14 -r1.15
*** install_scripts.py 19 Nov 2002 13:12:28 -0000 1.14
--- install_scripts.py 29 Nov 2002 19:45:58 -0000 1.15
***************
*** 54,58 ****
log.info("changing mode of %s", file)
else:
! mode = ((os.stat(file)[ST_MODE]) | 0111) & 07777
log.info("changing mode of %s to %o", file, mode)
os.chmod(file, mode)
--- 54,58 ----
log.info("changing mode of %s", file)
else:
! mode = ((os.stat(file)[ST_MODE]) | 0555) & 07777
log.info("changing mode of %s to %o", file, mode)
os.chmod(file, mode)