aboutsummaryrefslogtreecommitdiffstats
path: root/java/linux-sun-jdk13
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/linux-sun-jdk13
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/linux-sun-jdk13')
-rw-r--r--java/linux-sun-jdk13/pkg-plist2
1 files changed, 1 insertions, 1 deletions
diff --git a/java/linux-sun-jdk13/pkg-plist b/java/linux-sun-jdk13/pkg-plist
index 106b76acf8bc..47d493e2474f 100644
--- a/java/linux-sun-jdk13/pkg-plist
+++ b/java/linux-sun-jdk13/pkg-plist
@@ -798,7 +798,7 @@
%%T%%/man/man1/tnameserv.1
%%T%%/src.jar
@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/%%T%%/bin/java # Linux-Sun-JDK%%PORTVERSION%%"
@dirrm %%T%%/man/man1
@dirrm %%T%%/man/ja_JP.eucJP/man1