FIX chmod correctly for *both* 32bit and 64bit binaries

This commit is contained in:
Max Howell 2009-07-31 14:03:58 +01:00
parent d082abbbe8
commit e39f2ad229

View File

@ -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