Merge pull request #973 from mattrobenolt/expand-dotpath

Allow the .vagrant dotfile to be moved into a completely different directory tree
This commit is contained in:
Mitchell Hashimoto 2012-06-11 21:24:49 -07:00
commit 7bf613a162
1 changed files with 1 additions and 1 deletions

View File

@ -115,7 +115,7 @@ module Vagrant
# @return [Pathname] # @return [Pathname]
def dotfile_path def dotfile_path
return nil if !root_path return nil if !root_path
root_path.join(config.global.vagrant.dotfile_name) root_path.join(File.expand_path(config.global.vagrant.dotfile_name))
end end
# Returns the collection of boxes for the environment. # Returns the collection of boxes for the environment.