Fix npm bucket
npm is the only bucket that uses this method
This commit is contained in:
parent
cd8af281ab
commit
6555e72f39
1 changed files with 1 additions and 1 deletions
|
@ -62,7 +62,7 @@ module VagrantPlugins
|
||||||
comm.execute("mkdir -p #{bucket_path}")
|
comm.execute("mkdir -p #{bucket_path}")
|
||||||
unless comm.test("test -L #{guest_path}")
|
unless comm.test("test -L #{guest_path}")
|
||||||
comm.execute("rm -rf #{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}")
|
comm.execute("ln -s #{bucket_path} #{guest_path}")
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue