Restore previous behaviour of aborting delete-old* if rm failed.
Pointed out by: netchild MFC after: 3 weeks
This commit is contained in:
parent
82a35b739a
commit
ca224410bc
@ -1140,7 +1140,7 @@ delete-old-files:
|
||||
@(cd ${DESTDIR}/ && for file in ${OLD_FILES}; do \
|
||||
if [ -f "./$${file}" -o -L "./$${file}" ]; then \
|
||||
chflags noschg "./$${file}" 2>/dev/null || true; \
|
||||
rm ${RM_I} "${DESTDIR}/$${file}" || true; \
|
||||
rm ${RM_I} "${DESTDIR}/$${file}"; \
|
||||
fi; \
|
||||
done)
|
||||
# Remove catpages without corresponding manpages.
|
||||
@ -1178,7 +1178,7 @@ delete-old-libs:
|
||||
@(cd ${DESTDIR}/ && for file in ${OLD_LIBS}; do \
|
||||
if [ -f "./$${file}" -o -L "./$${file}" ]; then \
|
||||
chflags noschg "./$${file}" 2>/dev/null || true; \
|
||||
rm ${RM_I} "${DESTDIR}/$${file}" || true; \
|
||||
rm ${RM_I} "${DESTDIR}/$${file}"; \
|
||||
fi; \
|
||||
done)
|
||||
@echo ">>> Old libraries removed"
|
||||
|
Loading…
Reference in New Issue
Block a user