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}; \