Move new binary into place
This commit is contained in:
parent
0ddda8f591
commit
2691b0493c
10
bin/vagrant
10
bin/vagrant
|
@ -1,5 +1,11 @@
|
|||
#!/usr/bin/env ruby
|
||||
require 'vagrant'
|
||||
require 'vagrant/cli'
|
||||
|
||||
# Call the command
|
||||
Vagrant::Command.execute(*ARGV)
|
||||
begin
|
||||
Vagrant::CLI.start(ARGV, :env => Vagrant::Environment.load!)
|
||||
rescue Vagrant::VagrantError => e
|
||||
Vagrant.ui.error e.message
|
||||
Vagrant.ui.error e.backtrace.join("\n")
|
||||
exit e.status_code
|
||||
end
|
||||
|
|
|
@ -1,16 +0,0 @@
|
|||
#!/usr/bin/env ruby
|
||||
|
||||
# NOTE: This file is TEMPORARY. Eventually the plan is for this binary
|
||||
# to become the new `vagrant` binary. The only reason for the separation
|
||||
# now is so that both can be tested in parallel.
|
||||
|
||||
require 'vagrant'
|
||||
require 'vagrant/cli'
|
||||
|
||||
begin
|
||||
Vagrant::CLI.start(ARGV, :env => Vagrant::Environment.load!)
|
||||
rescue Vagrant::VagrantError => e
|
||||
Vagrant.ui.error e.message
|
||||
Vagrant.ui.error e.backtrace.join("\n")
|
||||
exit e.status_code
|
||||
end
|
Loading…
Reference in New Issue