NFS exports with wrong casing on case-insensitive work [GH-1202]
This commit is contained in:
parent
4bf6dc5743
commit
203594e41a
|
@ -5,6 +5,7 @@ BUG FIXES:
|
||||||
- Fix uninitialized constant error when configuring Arch Linux network. [GH-1734]
|
- Fix uninitialized constant error when configuring Arch Linux network. [GH-1734]
|
||||||
- Debian/Ubuntu change hostname works properly if eth0 is configured
|
- Debian/Ubuntu change hostname works properly if eth0 is configured
|
||||||
with hot-plugging. [GH-1929]
|
with hot-plugging. [GH-1929]
|
||||||
|
- NFS exports with improper casing on Mac OS X work properly. [GH-1202]
|
||||||
|
|
||||||
## 1.2.4 (July 16, 2013)
|
## 1.2.4 (July 16, 2013)
|
||||||
|
|
||||||
|
|
|
@ -4,6 +4,8 @@ require 'pathname'
|
||||||
|
|
||||||
require "log4r"
|
require "log4r"
|
||||||
|
|
||||||
|
require 'vagrant/util/platform'
|
||||||
|
|
||||||
module Vagrant
|
module Vagrant
|
||||||
module Action
|
module Action
|
||||||
module Builtin
|
module Builtin
|
||||||
|
@ -40,6 +42,7 @@ module Vagrant
|
||||||
hostpath = Pathname.new(opts[:hostpath]).
|
hostpath = Pathname.new(opts[:hostpath]).
|
||||||
expand_path(env[:root_path]).
|
expand_path(env[:root_path]).
|
||||||
realpath
|
realpath
|
||||||
|
hostpath = Util::Platform.fs_real_path(hostpath)
|
||||||
|
|
||||||
if !hostpath.directory? && opts[:create]
|
if !hostpath.directory? && opts[:create]
|
||||||
# Host path doesn't exist, so let's create it.
|
# Host path doesn't exist, so let's create it.
|
||||||
|
|
Loading…
Reference in New Issue