summaryrefslogtreecommitdiffstats
path: root/java/jdk11
diff options
context:
space:
mode:
authoredwin <edwin@FreeBSD.org>2006-01-22 02:20:05 +0000
committeredwin <edwin@FreeBSD.org>2006-01-22 02:20:05 +0000
commitffa6a89c602bab7fc1470e34b05dcfe64ce87369 (patch)
tree70253ae4904e6777d975133ac5d163530a80b02a /java/jdk11
parente8320e01ab60ecf311418120fb31f132f2adf4e9 (diff)
downloadFreeBSD-ports-ffa6a89c602bab7fc1470e34b05dcfe64ce87369.zip
FreeBSD-ports-ffa6a89c602bab7fc1470e34b05dcfe64ce87369.tar.gz
Replace ugly "@unexec rmdir %D... 2>/dev/null || true" with @dirrmtry
Approved by: krion@ PR: ports/88711 (related)
Diffstat (limited to 'java/jdk11')
-rw-r--r--java/jdk11/pkg-plist2
1 files changed, 1 insertions, 1 deletions
diff --git a/java/jdk11/pkg-plist b/java/jdk11/pkg-plist
index 7c9186c..b64d848 100644
--- a/java/jdk11/pkg-plist
+++ b/java/jdk11/pkg-plist
@@ -518,7 +518,7 @@ jdk%%JDK_VERSION%%/README.FreeBSD
jdk%%JDK_VERSION%%/CHANGES
jdk%%JDK_VERSION%%/index.html
@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/jdk%%JDK_VERSION%%/bin/java # JDK%%JDK_VERSION%%"
@dirrm jdk%%JDK_VERSION%%/lib/security
@dirrm jdk%%JDK_VERSION%%/lib/locale/ja_JP.UTF-8/app-defaults
OpenPOWER on IntegriCloud