summaryrefslogtreecommitdiff
blob: ca04e12031e14879f18829f9aa904c9e4c511f75 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
http://scons.tigris.org/issues/show_bug.cgi?id=2791

--- setup.py
+++ setup.py
@@ -325,7 +325,7 @@
                 self.copy_scons(src, scons_version_bat)
 
         # --- distutils copy/paste ---
-        if os.name == 'posix':
+        if hasattr(os, 'chmod'):
             # Set the executable bits (owner, group, and world) on
             # all the scripts we just installed.
             for file in self.get_outputs():