FIX chmod correctly for *both* 32bit and 64bit binaries
This commit is contained in:
parent
d082abbbe8
commit
e39f2ad229
@ -52,8 +52,8 @@ class Keg
|
|||||||
perms=0444
|
perms=0444
|
||||||
if fo =~ /Mach-O dynamically linked shared library/
|
if fo =~ /Mach-O dynamically linked shared library/
|
||||||
args='-SxX'
|
args='-SxX'
|
||||||
elsif fo =~ /Mach-O [^ ]* executable/ # defaults strip everything
|
elsif fo =~ /Mach-O [^ ]* ?executable/
|
||||||
args='' # still do the strip
|
args='' # use strip defaults
|
||||||
perms=0544
|
perms=0544
|
||||||
elsif fo =~ /script text executable/
|
elsif fo =~ /script text executable/
|
||||||
perms=0544
|
perms=0544
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user