aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/cask/lib/hbc/artifact/binary.rb
diff options
context:
space:
mode:
Diffstat (limited to 'Library/Homebrew/cask/lib/hbc/artifact/binary.rb')
-rw-r--r--Library/Homebrew/cask/lib/hbc/artifact/binary.rb5
1 files changed, 5 insertions, 0 deletions
diff --git a/Library/Homebrew/cask/lib/hbc/artifact/binary.rb b/Library/Homebrew/cask/lib/hbc/artifact/binary.rb
index 9136d6a2a..395ab5c5c 100644
--- a/Library/Homebrew/cask/lib/hbc/artifact/binary.rb
+++ b/Library/Homebrew/cask/lib/hbc/artifact/binary.rb
@@ -6,6 +6,11 @@ module Hbc
def install_phase
super if CLI.binaries?
end
+
+ def link(artifact_spec)
+ super(artifact_spec)
+ FileUtils.chmod "+x", source
+ end
end
end
end