summaryrefslogtreecommitdiffstats
path: root/Makefile.inc1
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile.inc1')
-rw-r--r--Makefile.inc12
1 files changed, 2 insertions, 0 deletions
diff --git a/Makefile.inc1 b/Makefile.inc1
index 26f54e6..3f12c5e 100644
--- a/Makefile.inc1
+++ b/Makefile.inc1
@@ -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
OpenPOWER on IntegriCloud