[Zope-Checkins] CVS: Zope/inst - do.py:1.9

Lennart Regebro lennart@torped.se
Tue, 17 Dec 2002 09:57:52 -0500


Update of /cvs-repository/Zope/inst
In directory cvs.zope.org:/tmp/cvs-serv1817/inst

Modified Files:
	do.py 
Log Message:
Some calls to os.system('chmod') has been replaced with the more portable os.chmod() call, to make install work properly on Windows.


=== Zope/inst/do.py 1.8 => 1.9 ===
--- Zope/inst/do.py:1.8	Wed Aug 14 17:17:32 2002
+++ Zope/inst/do.py	Tue Dec 17 09:57:52 2002
@@ -48,8 +48,7 @@
     if user:
         do("chown %s %s" % (user, path), 0, quiet)
 
-    do("chmod %s %s" % (oct(mode), path), 0, quiet)
-
+    os.chmod(path, mode)
 
 def make(*args):
     print