bin/veewee in veewee-0.0.2 vs bin/veewee in veewee-0.1.0a

- old
+ new

@@ -28,12 +28,10 @@ #Initialize Veewee::Session.setenv({:veewee_dir => veewee_dir, :definition_dir => definition_dir, :template_dir => template_dir, :iso_dir => iso_dir, :box_dir => box_dir, :tmp_dir => tmp_dir}) - - class VeeweeCLI < Thor desc "init [NAME] [TEMPLATE]", "initializes a box from a template" method_options :force => :boolean def init(boxname=nil, template=nil) @@ -67,13 +65,12 @@ end end end - - version=VirtualBox.version -if (version.match(/^4./)) - VeeweeCLI.start +if (version.match(/^4.x/)) + VeeweeCLI.start else - puts "veewee only supports VirtualBox 4.x" + puts "veewee only supports VirtualBox 4.x" end +