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, May 13, 3:48 PM
Unknown Object (File)
Sat, May 13, 3:47 PM
Unknown Object (File)
May 6 2023, 5:12 AM
Unknown Object (File)
May 6 2023, 4:34 AM
Unknown Object (File)
Mar 15 2023, 5:04 AM
Unknown Object (File)
Feb 27 2023, 7:19 PM
Unknown Object (File)
Feb 27 2023, 7:17 PM
Unknown Object (File)
Feb 27 2023, 7:05 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.