aboutsummaryrefslogtreecommitdiff
path: root/java/linux-sun-jdk13
diff options
context:
space:
mode:
authorEdwin Groothuis <edwin@FreeBSD.org>2006-01-22 02:20:05 +0000
committerEdwin Groothuis <edwin@FreeBSD.org>2006-01-22 02:20:05 +0000
commit0416031c9ba13da33845bc762078065b482dd551 (patch)
treebe4d2554a35fe96c98b1eaa2d243964ae3c4f602 /java/linux-sun-jdk13
parent93189653b53dbb03ea40ad1126155b1ef52bb27c (diff)
downloadports-0416031c9ba13da33845bc762078065b482dd551.tar.gz
ports-0416031c9ba13da33845bc762078065b482dd551.zip
Replace ugly "@unexec rmdir %D... 2>/dev/null || true" with @dirrmtry
Approved by: krion@ PR: ports/88711 (related)
Notes
Notes: svn path=/head/; revision=154113
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