diff options
| author | Max Howell | 2009-07-31 14:03:58 +0100 |
|---|---|---|
| committer | Max Howell | 2009-07-31 14:03:58 +0100 |
| commit | e39f2ad229cef84631a8ebf8cc25bf5371423d5a (patch) | |
| tree | 4b82841f916f82c39d153d36efb7c6c04b9d7f42 | |
| parent | d082abbbe85013363c0c1cfbd39861c3e0a00136 (diff) | |
| download | brew-e39f2ad229cef84631a8ebf8cc25bf5371423d5a.tar.bz2 | |
FIX chmod correctly for *both* 32bit and 64bit binaries
| -rw-r--r-- | Library/Homebrew/keg.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Library/Homebrew/keg.rb b/Library/Homebrew/keg.rb index f5c856a95..d2db862af 100644 --- a/Library/Homebrew/keg.rb +++ b/Library/Homebrew/keg.rb @@ -52,8 +52,8 @@ class Keg perms=0444 if fo =~ /Mach-O dynamically linked shared library/ args='-SxX' - elsif fo =~ /Mach-O [^ ]* executable/ # defaults strip everything - args='' # still do the strip + elsif fo =~ /Mach-O [^ ]* ?executable/ + args='' # use strip defaults perms=0544 elsif fo =~ /script text executable/ perms=0544 |
