diff --git a/Library/Homebrew/cask/lib/hbc/artifact/binary.rb b/Library/Homebrew/cask/lib/hbc/artifact/binary.rb index f41b1b85b2624ba242540883a5ef884f784f81e9..21d123ab90a6b91d41d868903d3b24eb7e6de6ee 100644 --- a/Library/Homebrew/cask/lib/hbc/artifact/binary.rb +++ b/Library/Homebrew/cask/lib/hbc/artifact/binary.rb @@ -13,7 +13,7 @@ module Hbc if source.writable? FileUtils.chmod "+x", source else - @command.run!.run("/bin/chmod", args: ["+x", source], sudo: true) + @command.run!("/bin/chmod", args: ["+x", source], sudo: true) end end end