From 2eb366ff386674bcd2eec760fdaef25dff665063 Mon Sep 17 00:00:00 2001 From: Markus Reiter Date: Tue, 24 Oct 2017 18:28:21 +0200 Subject: Fix `SystemCommand` without arguments. --- Library/Homebrew/cask/lib/hbc/system_command.rb | 3 --- 1 file changed, 3 deletions(-) (limited to 'Library/Homebrew/cask/lib') diff --git a/Library/Homebrew/cask/lib/hbc/system_command.rb b/Library/Homebrew/cask/lib/hbc/system_command.rb index 3c8311a3b..ea440991f 100644 --- a/Library/Homebrew/cask/lib/hbc/system_command.rb +++ b/Library/Homebrew/cask/lib/hbc/system_command.rb @@ -1,5 +1,4 @@ require "open3" -require "shellwords" require "vendor/plist/plist" require "extend/io" @@ -38,8 +37,6 @@ module Hbc end def initialize(executable, args: [], sudo: false, input: [], print_stdout: false, print_stderr: true, must_succeed: false, **options) - executable, *args = Shellwords.shellescape(executable) if args.empty? - @executable = executable @args = args @sudo = sudo -- cgit v1.2.3