From 5ed7f988bca676d52388b7d0db6e540bfd1476f7 Mon Sep 17 00:00:00 2001 From: PJ Eby Date: Sat, 25 Jun 2005 19:33:06 +0000 Subject: 0.5a3 bugfix release --HG-- branch : setuptools extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/trunk/setuptools%4041072 --- easy_install.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'easy_install.py') diff --git a/easy_install.py b/easy_install.py index b61b122e..689ee6ba 100755 --- a/easy_install.py +++ b/easy_install.py @@ -238,10 +238,10 @@ class easy_install(Command): f = open(target,"w") f.write(script_text) f.close() - - - - + try: + os.chmod(target,0755) + except (AttributeError, os.error): + pass def install_eggs(self, dist_filename, zip_ok, tmpdir): -- cgit v1.2.1