aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorMax Howell2011-09-01 12:53:46 +0100
committerMax Howell2011-09-01 12:53:46 +0100
commitd3aeae53593503853e2d319381d9bbd9df3179bc (patch)
tree6c0a2ab3bafe3fa3d3d74ef40bdbb836dd2aef00 /Library
parent677f1b391c092731e1d3214ad9b8f0e9b70257e5 (diff)
downloadhomebrew-d3aeae53593503853e2d319381d9bbd9df3179bc.tar.bz2
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.
Diffstat (limited to 'Library')
-rw-r--r--Library/Homebrew/cleaner.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Homebrew/cleaner.rb b/Library/Homebrew/cleaner.rb
index 45f3d69b9..36bb74f4b 100644
--- a/Library/Homebrew/cleaner.rb
+++ b/Library/Homebrew/cleaner.rb
@@ -56,7 +56,7 @@ class Cleaner
when /Mach-O [^ ]* ?executable/
strip path
perms = 0555
- when /script text executable/
+ when /text executable/
perms = 0555
end
path.chmod perms