Back to using 'which' when no path is defined since the winrm communicator overrides it anyway.

This commit is contained in:
Ben Hines 2015-07-14 23:55:09 -07:00
parent 8c2ddac2cd
commit 46eedb6491
1 changed files with 1 additions and 1 deletions

View File

@ -151,7 +151,7 @@ module VagrantPlugins
if @config.binary_path
test_cmd = "where \"#{@config.binary_path}:#{binary}\""
else
test_cmd = "where #{binary}"
test_cmd = "which #{binary}"
end
end
if !machine.communicate.test(test_cmd)