blob: ca04e12031e14879f18829f9aa904c9e4c511f75 [file] [log] [blame]
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():