mirror of
https://gitlab.com/ita1024/waf.git
synced 2025-01-10 18:35:13 +01:00
fixed --make-waf with python3
This commit is contained in:
parent
ffc07831cc
commit
2db34905bd
@ -954,7 +954,7 @@ class InstallContext(BuildContext):
|
||||
# Give best attempt at making destination overwritable,
|
||||
# like the 'install' utility used by 'make install' does.
|
||||
try:
|
||||
os.chmod(tgt, 0644 | stat.S_IMODE(os.stat(tgt).st_mode))
|
||||
os.chmod(tgt, Utils.O644 | stat.S_IMODE(os.stat(tgt).st_mode))
|
||||
except (OSError, IOError):
|
||||
pass
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user