1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-28 11:57:28 +00:00

Revision 1.576 removed too much. I didn't notice because my /usr is on

ZFS, which doesn't support flags...
This commit is contained in:
Dag-Erling Smørgrav 2007-05-19 20:34:29 +00:00
parent 2b9573af36
commit 98a0900ab4
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=169778

View File

@ -1165,6 +1165,7 @@ delete-old-files:
# It's annoying, but better safe than sorry.
@for file in ${OLD_FILES}; do \
if [ -f "${DESTDIR}/$${file}" -o -L "${DESTDIR}/$${file}" ]; then \
chflags noschg "${DESTDIR}/$${file}" 2>/dev/null || true; \
rm ${RM_I} "${DESTDIR}/$${file}"; \
fi; \
done
@ -1202,6 +1203,7 @@ delete-old-libs:
@echo "${OLD_LIBS_MESSAGE}" | fmt
@for file in ${OLD_LIBS}; do \
if [ -f "${DESTDIR}/$${file}" -o -L "${DESTDIR}/$${file}" ]; then \
chflags noschg "${DESTDIR}/$${file}" 2>/dev/null || true; \
rm ${RM_I} "${DESTDIR}/$${file}"; \
fi; \
done