Back to using 'which' when no path is defined since the winrm communicator overrides it anyway.
This commit is contained in:
parent
8c2ddac2cd
commit
46eedb6491
|
@ -151,7 +151,7 @@ module VagrantPlugins
|
||||||
if @config.binary_path
|
if @config.binary_path
|
||||||
test_cmd = "where \"#{@config.binary_path}:#{binary}\""
|
test_cmd = "where \"#{@config.binary_path}:#{binary}\""
|
||||||
else
|
else
|
||||||
test_cmd = "where #{binary}"
|
test_cmd = "which #{binary}"
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
if !machine.communicate.test(test_cmd)
|
if !machine.communicate.test(test_cmd)
|
||||||
|
|
Loading…
Reference in New Issue