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)
Thu, Aug 14, 9:40 PM
Unknown Object (File)
Tue, Jul 22, 5:08 PM
Unknown Object (File)
Jun 21 2025, 1:59 PM
Unknown Object (File)
Jun 18 2025, 10:53 AM
Unknown Object (File)
Jun 17 2025, 6:00 AM
Unknown Object (File)
Jun 15 2025, 1:50 AM
Unknown Object (File)
Jun 12 2025, 7:17 PM
Unknown Object (File)
Jun 10 2025, 6:36 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.