Closed l15k4 closed 9 years ago
The existing code snippet seems to work on my Ubuntu VM
vagrant@dbdev:~$ mkdir -p js/shared
vagrant@dbdev:~$ mkdir jvm
vagrant@dbdev:~$ ln -s ../js/shared jvm/shared
vagrant@dbdev:~$ touch js/shared/lol
vagrant@dbdev:~$ ls jvm/shared/lol
Wow, embarrassing ... Anyway this way is pretty strange in that the relative paths do not correspond to the current $PWD ... I'm kinda used for all that years that relative symlink should be done from the target because it just makes sense only that way if you look at it...
Sorry for useless PR.
The symlink syntax is all wrong in every way. Generally takes me 30-40 minutes to make each one =P
Hi,
I'm not sure whether the symlink behavior differs between OS X and Linux, but you need to be in the target directory to create a relative symlink to a directory on Linux ... In case it is not the same on Mac, ignore this PR.