Skip to content

Commit

Permalink
Merge pull request hashicorp#973 from mattrobenolt/expand-dotpath
Browse files Browse the repository at this point in the history
Allow the .vagrant dotfile to be moved into a completely different directory tree
  • Loading branch information
mitchellh committed Jun 12, 2012
2 parents 3a07535 + db76b42 commit 7bf613a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/vagrant/environment.rb
Expand Up @@ -115,7 +115,7 @@ def initialize(opts=nil)
# @return [Pathname]
def dotfile_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

# Returns the collection of boxes for the environment.
Expand Down

0 comments on commit 7bf613a

Please sign in to comment.