Closed paulrobello closed 3 years ago
When i do the following: cd somedir ln -s theFile theLink
the src param is just the file name theFile the dest param is the full path /somedir/theLink
I cant resolve the src param without knowing the current working dir. The src param should be the full path /somedir/theFile
It appears I was over complicating it. Simply putting the src provided into the target that then gets returned from readlink seems to work fine.
When i do the following: cd somedir ln -s theFile theLink
the src param is just the file name theFile the dest param is the full path /somedir/theLink
I cant resolve the src param without knowing the current working dir. The src param should be the full path /somedir/theFile