aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew
diff options
context:
space:
mode:
Diffstat (limited to 'Library/Homebrew')
-rw-r--r--Library/Homebrew/keg.rb4
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