cleaner: fix generic executable handling. (#498)
Don't unset things that are already set as executable for the generic path. OS X overrides this behaviour and detects if it's an MachO executable but there's no cross-OS generic equivalent so just fall back to whatever the build system has set.
This commit is contained in:
parent
23306ab434
commit
cdf4f42ab9
@ -67,7 +67,7 @@ class Cleaner
|
|||||||
end
|
end
|
||||||
|
|
||||||
def executable_path?(path)
|
def executable_path?(path)
|
||||||
path.text_executable?
|
path.text_executable? || path.executable?
|
||||||
end
|
end
|
||||||
|
|
||||||
# Clean a top-level (bin, sbin, lib) directory, recursively, by fixing file
|
# Clean a top-level (bin, sbin, lib) directory, recursively, by fixing file
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user