diff --git a/Library/Homebrew/cask/lib/hbc/artifact/binary.rb b/Library/Homebrew/cask/lib/hbc/artifact/binary.rb index f41b1b85b2..21d123ab90 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