aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/os/mac/mach.rb
diff options
context:
space:
mode:
Diffstat (limited to 'Library/Homebrew/os/mac/mach.rb')
-rw-r--r--Library/Homebrew/os/mac/mach.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/Library/Homebrew/os/mac/mach.rb b/Library/Homebrew/os/mac/mach.rb
index 9b53c4979..958618869 100644
--- a/Library/Homebrew/os/mac/mach.rb
+++ b/Library/Homebrew/os/mac/mach.rb
@@ -103,6 +103,8 @@ module MachOShim
mach_data.any? { |m| m.fetch(:type) == :executable }
end
+ alias binary_executable? mach_o_executable?
+
# @private
def mach_o_bundle?
mach_data.any? { |m| m.fetch(:type) == :bundle }