Be future proof, output from file becomes more verbose
New versions of file return `script, ASCII text executable`. Apple may ship the newer version with 10.8 so we may as well be ready for it.
This commit is contained in:
parent
1c28de6538
commit
ca45147219
@ -56,7 +56,7 @@ class Cleaner
|
|||||||
when /Mach-O [^ ]* ?executable/
|
when /Mach-O [^ ]* ?executable/
|
||||||
strip path
|
strip path
|
||||||
perms = 0555
|
perms = 0555
|
||||||
when /script text executable/
|
when /text executable/
|
||||||
perms = 0555
|
perms = 0555
|
||||||
end
|
end
|
||||||
path.chmod perms
|
path.chmod perms
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user