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)
Sat, Oct 11, 7:33 AM
Unknown Object (File)
Tue, Oct 7, 8:01 PM
Unknown Object (File)
Sep 16 2025, 5:45 PM
Unknown Object (File)
Sep 14 2025, 3:11 AM
Unknown Object (File)
Sep 11 2025, 12:39 AM
Unknown Object (File)
Sep 10 2025, 8:52 AM
Unknown Object (File)
Sep 10 2025, 4:32 AM
Unknown Object (File)
Sep 6 2025, 11:30 AM
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.