From e7d950fc3d84cc8ed1d8187a3d27b6ceb8e2d48e Mon Sep 17 00:00:00 2001 From: sobomax Date: Fri, 15 Dec 2000 08:01:52 +0000 Subject: Use `--exclude "*.orig"' tar(1) option instead of removing .orig files after installation. This should partially close ports/23560 problem. PR: ports/23560 --- java/linux-blackdown-jdk12/Makefile | 4 +--- java/linux-jdk/Makefile | 4 +--- 2 files changed, 2 insertions(+), 6 deletions(-) (limited to 'java') diff --git a/java/linux-blackdown-jdk12/Makefile b/java/linux-blackdown-jdk12/Makefile index d73c28c8d967..bce3f710e69e 100644 --- a/java/linux-blackdown-jdk12/Makefile +++ b/java/linux-blackdown-jdk12/Makefile @@ -28,9 +28,7 @@ NO_BUILD= yes do-install: ${MKDIR} ${PREFIX}/linux-jdk1.2.2 - (cd ${WRKSRC} && tar -c -f - .) \ + (cd ${WRKSRC} && tar --exclude "*.orig" -c -f - .) \ | (cd ${PREFIX}/linux-jdk1.2.2 && tar fx -) - ${RM} ${PREFIX}/linux-jdk1.2.2/bin/.java_wrapper.orig - ${RM} ${PREFIX}/linux-jdk1.2.2/jre/bin/.java_wrapper.orig .include diff --git a/java/linux-jdk/Makefile b/java/linux-jdk/Makefile index d73c28c8d967..bce3f710e69e 100644 --- a/java/linux-jdk/Makefile +++ b/java/linux-jdk/Makefile @@ -28,9 +28,7 @@ NO_BUILD= yes do-install: ${MKDIR} ${PREFIX}/linux-jdk1.2.2 - (cd ${WRKSRC} && tar -c -f - .) \ + (cd ${WRKSRC} && tar --exclude "*.orig" -c -f - .) \ | (cd ${PREFIX}/linux-jdk1.2.2 && tar fx -) - ${RM} ${PREFIX}/linux-jdk1.2.2/bin/.java_wrapper.orig - ${RM} ${PREFIX}/linux-jdk1.2.2/jre/bin/.java_wrapper.orig .include -- cgit