From 31c39e9cdd4dfc385707230932db6159fd66cd4b Mon Sep 17 00:00:00 2001 From: glewis Date: Tue, 31 Aug 2004 19:41:41 +0000 Subject: . Don't let find(1) descend into directories that may have already been deleted. PR: 71019 Submitted by: Rainer Goellner --- java/jdk13/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'java') diff --git a/java/jdk13/Makefile b/java/jdk13/Makefile index add4f85f62b6..ab40188a6b5c 100644 --- a/java/jdk13/Makefile +++ b/java/jdk13/Makefile @@ -195,7 +195,7 @@ pre-patch: ${PATCH} -p0 -E < ${WRKDIR}/jdk131.patches post-patch: - @-${FIND} ${WRKDIR} -name SCCS -exec ${RM} -rf {} \; + @${FIND} -d ${WRKDIR} -name SCCS -exec ${RM} -rf {} \; @for file in ${LD_LIBRARY_PATH_FILES}; do \ ${REINPLACE_CMD} -e "s:%%LOCALBASE%%:${LOCALBASE}:" \ ${WRKSRC}/$${file}; \ -- cgit