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)
Fri, Jan 3, 7:37 AM
Unknown Object (File)
Dec 7 2024, 2:43 PM
Unknown Object (File)
Oct 21 2024, 8:45 AM
Unknown Object (File)
Oct 21 2024, 3:41 AM
Unknown Object (File)
Oct 5 2024, 10:05 PM
Unknown Object (File)
Sep 23 2024, 5:29 AM
Unknown Object (File)
Sep 21 2024, 9:09 PM
Unknown Object (File)
Sep 20 2024, 12:54 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.