aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorglewis <glewis@FreeBSD.org>2004-09-01 03:41:41 +0800
committerglewis <glewis@FreeBSD.org>2004-09-01 03:41:41 +0800
commit31c39e9cdd4dfc385707230932db6159fd66cd4b (patch)
tree119ace253b957f035362cbfe87c5ae34d95e6ffd
parentc3983ef7de76a98a04d6650fe8da72e1fc0a7054 (diff)
downloadfreebsd-ports-gnome-31c39e9cdd4dfc385707230932db6159fd66cd4b.tar.gz
freebsd-ports-gnome-31c39e9cdd4dfc385707230932db6159fd66cd4b.tar.zst
freebsd-ports-gnome-31c39e9cdd4dfc385707230932db6159fd66cd4b.zip
. Don't let find(1) descend into directories that may have already been
deleted. PR: 71019 Submitted by: Rainer Goellner <rainer@jabbe.de>
-rw-r--r--java/jdk13/Makefile2
1 files changed, 1 insertions, 1 deletions
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}; \