SHA256
1
0
forked from pool/vagrant
vagrant/0012-require-vagrant-version-from-system.patch

22 lines
547 B
Diff

From: Antonio Terceiro <terceiro@debian.org>
Date: Fri, 12 Jun 2015 11:21:08 -0300
Subject: require vagrant/version from system
---
bin/vagrant | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/bin/vagrant b/bin/vagrant
index db0aa2f..52ec451 100755
--- a/bin/vagrant
+++ b/bin/vagrant
@@ -15,7 +15,7 @@ end
# Fast path the version of Vagrant
if argv.include?("-v") || argv.include?("--version")
- require_relative "../lib/vagrant/version"
+ require "vagrant/version"
puts "Vagrant #{Vagrant::VERSION}"
exit 0
end