CHANGELOG
This commit is contained in:
parent
51d4cc4068
commit
7adffcb880
|
@ -18,6 +18,8 @@ IMPROVEMENTS:
|
||||||
|
|
||||||
BUG FIXES:
|
BUG FIXES:
|
||||||
|
|
||||||
|
- VBoxManage or any other executable missing from PATH properly
|
||||||
|
reported. Regression from 1.2.2. [GH-1928]
|
||||||
- Boxes downloaded as part of `vagrant up` are now done so _prior_ to
|
- Boxes downloaded as part of `vagrant up` are now done so _prior_ to
|
||||||
config validation. This allows Vagrantfiles to references files that
|
config validation. This allows Vagrantfiles to references files that
|
||||||
may be in the box itself. [GH-1061]
|
may be in the box itself. [GH-1061]
|
||||||
|
|
|
@ -25,13 +25,12 @@ module Vagrant
|
||||||
end
|
end
|
||||||
|
|
||||||
def initialize(*command)
|
def initialize(*command)
|
||||||
progname = command[0]
|
|
||||||
@options = command.last.is_a?(Hash) ? command.pop : {}
|
@options = command.last.is_a?(Hash) ? command.pop : {}
|
||||||
@command = command
|
@command = command.dup
|
||||||
@command[0] = Which.which(@command[0]) if !File.file?(@command[0])
|
@command[0] = Which.which(@command[0]) if !File.file?(@command[0])
|
||||||
if !@command[0]
|
if !@command[0]
|
||||||
raise Errors::CommandUnavailableWindows, file: progname if Platform.windows?
|
raise Errors::CommandUnavailableWindows, file: command[0] if Platform.windows?
|
||||||
raise Errors::CommandUnavailable, file: progname
|
raise Errors::CommandUnavailable, file: command[0]
|
||||||
end
|
end
|
||||||
|
|
||||||
@logger = Log4r::Logger.new("vagrant::util::subprocess")
|
@logger = Log4r::Logger.new("vagrant::util::subprocess")
|
||||||
|
|
Loading…
Reference in New Issue