Fix npm bucket

npm is the only bucket that uses this method
This commit is contained in:
Fabio Rehm 2014-02-14 01:43:59 -02:00
parent cd8af281ab
commit 6555e72f39

View file

@ -62,7 +62,7 @@ module VagrantPlugins
comm.execute("mkdir -p #{bucket_path}")
unless comm.test("test -L #{guest_path}")
comm.execute("rm -rf #{guest_path}")
comm.execute("mkdir -p `dirname #{guest_path}`") if create_parent
comm.execute("mkdir -p `dirname #{guest_path}`")
comm.execute("ln -s #{bucket_path} #{guest_path}")
end
end