aboutsummaryrefslogtreecommitdiffstats
path: root/java/jre
diff options
context:
space:
mode:
authoredwin <edwin@FreeBSD.org>2006-01-22 10:20:05 +0800
committeredwin <edwin@FreeBSD.org>2006-01-22 10:20:05 +0800
commitffa6a89c602bab7fc1470e34b05dcfe64ce87369 (patch)
tree70253ae4904e6777d975133ac5d163530a80b02a /java/jre
parente8320e01ab60ecf311418120fb31f132f2adf4e9 (diff)
downloadfreebsd-ports-gnome-ffa6a89c602bab7fc1470e34b05dcfe64ce87369.tar.gz
freebsd-ports-gnome-ffa6a89c602bab7fc1470e34b05dcfe64ce87369.tar.zst
freebsd-ports-gnome-ffa6a89c602bab7fc1470e34b05dcfe64ce87369.zip
Replace ugly "@unexec rmdir %D... 2>/dev/null || true" with @dirrmtry
Approved by: krion@ PR: ports/88711 (related)
Diffstat (limited to 'java/jre')
-rw-r--r--java/jre/pkg-plist2
1 files changed, 1 insertions, 1 deletions
diff --git a/java/jre/pkg-plist b/java/jre/pkg-plist
index 062655480c8e..0b5c2ca3d895 100644
--- a/java/jre/pkg-plist
+++ b/java/jre/pkg-plist
@@ -49,7 +49,7 @@ jre%%JRE_VERSION%%/lib/rt.jar
jre%%JRE_VERSION%%/lib/security/java.security
jre%%JRE_VERSION%%/lib/serialver.properties
@exec mkdir -p %D/share/doc/java
-@unexec rmdir %D/share/doc/java 2>/dev/null || true
+@dirrmtry share/doc/java
@exec %%LOCALBASE%%/bin/registervm "%D/jre%%JRE_VERSION%%/bin/java # JRE%%JRE_VERSION%%"
@dirrm jre%%JRE_VERSION%%/lib/security
@dirrm jre%%JRE_VERSION%%/lib/i386/green_threads