Merge pull request #8191 from chrisroberts/plugins/ext-dir
Set base directory to parent directory within plugin specs
This commit is contained in:
commit
0a6d985f89
|
@ -398,6 +398,7 @@ module Vagrant
|
||||||
end
|
end
|
||||||
|
|
||||||
spec.full_gem_path = File.expand_path(directory)
|
spec.full_gem_path = File.expand_path(directory)
|
||||||
|
spec.base_dir = File.dirname(spec.base_dir)
|
||||||
|
|
||||||
@specs[spec.name] ||= []
|
@specs[spec.name] ||= []
|
||||||
@specs[spec.name] << spec
|
@specs[spec.name] << spec
|
||||||
|
|
Loading…
Reference in New Issue