Summary: | make install creates recursive symbolic links | ||
---|---|---|---|
Product: | Documentation | Reporter: | Wolfram Schneider <wosch> |
Component: | Books & Articles | Assignee: | Wolfram Schneider <wosch> |
Status: | Closed FIXED | ||
Severity: | Affects Only Me | CC: | bz, wosch |
Priority: | --- | ||
Version: | Latest | ||
Hardware: | Any | ||
OS: | Any |
Description
Wolfram Schneider
2017-10-02 12:07:39 UTC
I think the problem is in doc/en_US.ISO8859-1/htdocs/security/patches/Makefile f16141f111f (bz 2012-09-17 08:42:56 +0000 19) SYMLINKS+= SA-10:05 SA-10-05 so, SA-10-05 will be symlinked itself. Bjoern? Actually, I think the error is that the SYMLINK features which works only for files and not for a directory. The semantic of `ln -fs' is special if you run it for directories twice, e.g. mkdir from ln -sf from to find . -name from -or -name to ./to ./from now run it again ln -sf from to find . -name from -or -name to ./to ./from ./from/from ls -l from total 1 lrwxrwxr-x 1 wosch devel 4 Oct 6 13:54 from -> from Proposed fix: in share/mk/web.site.mk we need to delete the target first before we call ln -fs A commit references this bug: Author: wosch Date: Sat Oct 7 09:03:10 UTC 2017 New revision: 51070 URL: https://svnweb.freebsd.org/changeset/doc/51070 Log: we need to delete the target symlink first before we can create it This solved the issue with symlinks to directories. The semantic of `ln -fs' is special if you run it for directories twice, e.g. mkdir from ln -sf from to find . -name from -or -name to ./to ./from now run it again ln -sf from to find . -name from -or -name to ./to ./from ./from/from ls -l from total 1 lrwxrwxr-x 1 wosch devel 4 Oct 6 13:54 from -> from PR: 222737 Changes: head/share/mk/web.site.mk |