Fix verify_binary for Puppet for Windows guests.

This commit is contained in:
Philip Wigg 2015-09-11 20:06:21 +01:00
parent 4967623417
commit 33b4d6a63d
1 changed files with 1 additions and 1 deletions

View File

@ -150,7 +150,7 @@ module VagrantPlugins
# This is very platform dependent.
test_cmd = "sh -c 'command -v #{binary}'"
if windows?
test_cmd = "which #{binary}"
test_cmd = "where #{binary}"
if @config.binary_path
test_cmd = "where \"#{@config.binary_path}:#{binary}\""
end