Merge pull request #8191 from chrisroberts/plugins/ext-dir

Set base directory to parent directory within plugin specs
This commit is contained in:
Chris Roberts 2017-02-01 13:12:27 -08:00 committed by GitHub
commit 0a6d985f89
1 changed files with 1 additions and 0 deletions

View File

@ -398,6 +398,7 @@ module Vagrant
end
spec.full_gem_path = File.expand_path(directory)
spec.base_dir = File.dirname(spec.base_dir)
@specs[spec.name] ||= []
@specs[spec.name] << spec