HomeFreeBSD

Use the new ${RLN} relative symlink magic to create uniquefiles.

Description

Use the new ${RLN} relative symlink magic to create uniquefiles.

Before, the symlinks were created as absolute paths, so it would look
like this:

$ ls -l /usr/local/bin/
[...]
lrwxr-xr-x  1 root  wheel      12 Apr 14 14:28 autopep8 -> /usr/local/bin/autopep8-2.7
-rwxr-xr-x  1 root  wheel     395 Apr 14 14:28 autopep8-2.7
[...]

After, the symlinks are created with relative paths:

$ ls -l /usr/local/bin/
[...]
lrwxr-xr-x  1 root  wheel      12 Apr 14 14:28 autopep8 -> autopep8-2.7
-rwxr-xr-x  1 root  wheel     395 Apr 14 14:28 autopep8-2.7
[...]

Reviewed by: bapt
Sponsored by: Absolight
Differential Revision: https://reviews.freebsd.org/D10395

Details