Page MenuHomeFreeBSD

Use install's relative symlink feature to create uniquefiles.
ClosedPublic

Authored by mat on Apr 14 2017, 2:31 PM.
Tags
None
Referenced Files
Unknown Object (File)
Dec 4 2025, 5:24 AM
Unknown Object (File)
Nov 28 2025, 9:07 AM
Unknown Object (File)
Nov 26 2025, 12:30 AM
Unknown Object (File)
Nov 8 2025, 1:58 PM
Unknown Object (File)
Nov 1 2025, 5:40 AM
Unknown Object (File)
Oct 11 2025, 7:33 AM
Unknown Object (File)
Oct 7 2025, 8:01 PM
Unknown Object (File)
Sep 16 2025, 5:45 PM
Subscribers
None

Details

Summary

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
[...]

Diff Detail

Repository
rP FreeBSD ports repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

This revision is now accepted and ready to land.Apr 14 2017, 2:50 PM
This revision was automatically updated to reflect the committed changes.