NFS exports with wrong casing on case-insensitive work [GH-1202]

This commit is contained in:
Mitchell Hashimoto 2013-07-17 10:53:24 -07:00
parent 4bf6dc5743
commit 203594e41a
2 changed files with 4 additions and 0 deletions

View File

@ -5,6 +5,7 @@ BUG FIXES:
- Fix uninitialized constant error when configuring Arch Linux network. [GH-1734]
- Debian/Ubuntu change hostname works properly if eth0 is configured
with hot-plugging. [GH-1929]
- NFS exports with improper casing on Mac OS X work properly. [GH-1202]
## 1.2.4 (July 16, 2013)

View File

@ -4,6 +4,8 @@ require 'pathname'
require "log4r"
require 'vagrant/util/platform'
module Vagrant
module Action
module Builtin
@ -40,6 +42,7 @@ module Vagrant
hostpath = Pathname.new(opts[:hostpath]).
expand_path(env[:root_path]).
realpath
hostpath = Util::Platform.fs_real_path(hostpath)
if !hostpath.directory? && opts[:create]
# Host path doesn't exist, so let's create it.