In r245571, "rm -rf <foo>; ln -s <bar> <foo>" needed to be replaced with
"ln -sfh <bar> <foo>" or the links would fail when a valid link to a directly was in place at <foo>. Reported by: peter Tested by: peter Pointy hat to: brooks
This commit is contained in:
parent
1dce924d25
commit
dbc6339b41
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=245580
14
etc/Makefile
14
etc/Makefile
@ -324,26 +324,26 @@ distrib-dirs:
|
||||
-f $$m -p $$d; \
|
||||
${MTREE_CMD} -deU ${MTREE_FOLLOWS_SYMLINKS} -f $$m -p $$d; \
|
||||
done; true
|
||||
ln -sf usr/src/sys ${DESTDIR}/sys
|
||||
ln -sfh usr/src/sys ${DESTDIR}/sys
|
||||
cd ${DESTDIR}/usr/share/man; \
|
||||
for mandir in man*; do \
|
||||
ln -sf ../$$mandir ${DESTDIR}/usr/share/man/en.ISO8859-1/; \
|
||||
ln -sf ../$$mandir ${DESTDIR}/usr/share/man/en.UTF-8/; \
|
||||
ln -sfh ../$$mandir ${DESTDIR}/usr/share/man/en.ISO8859-1/; \
|
||||
ln -sfh ../$$mandir ${DESTDIR}/usr/share/man/en.UTF-8/; \
|
||||
done
|
||||
cd ${DESTDIR}/usr/share/openssl/man; \
|
||||
for mandir in man*; do \
|
||||
ln -sf ../$$mandir \
|
||||
ln -sfh ../$$mandir \
|
||||
${DESTDIR}/usr/share/openssl/man/en.ISO8859-1/; \
|
||||
done
|
||||
set - `grep "^[a-zA-Z]" ${.CURDIR}/man.alias`; \
|
||||
while [ $$# -gt 0 ] ; do \
|
||||
ln -sf "$$2" "${DESTDIR}/usr/share/man/$$1"; \
|
||||
ln -sf "$$2" "${DESTDIR}/usr/share/openssl/man/$$1"; \
|
||||
ln -sfh "$$2" "${DESTDIR}/usr/share/man/$$1"; \
|
||||
ln -sfh "$$2" "${DESTDIR}/usr/share/openssl/man/$$1"; \
|
||||
shift; shift; \
|
||||
done
|
||||
set - `grep "^[a-zA-Z]" ${.CURDIR}/nls.alias`; \
|
||||
while [ $$# -gt 0 ] ; do \
|
||||
ln -sf "$$2" "${DESTDIR}/usr/share/nls/$$1"; \
|
||||
ln -sfh "$$2" "${DESTDIR}/usr/share/nls/$$1"; \
|
||||
shift; shift; \
|
||||
done
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user