diff options
author | Edwin Groothuis <edwin@FreeBSD.org> | 2006-01-22 02:20:05 +0000 |
---|---|---|
committer | Edwin Groothuis <edwin@FreeBSD.org> | 2006-01-22 02:20:05 +0000 |
commit | 0416031c9ba13da33845bc762078065b482dd551 (patch) | |
tree | be4d2554a35fe96c98b1eaa2d243964ae3c4f602 /java/jdk13 | |
parent | 93189653b53dbb03ea40ad1126155b1ef52bb27c (diff) | |
download | ports-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/jdk13')
-rw-r--r-- | java/jdk13/pkg-plist | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/java/jdk13/pkg-plist b/java/jdk13/pkg-plist index 46421d6f989c..3896c2ae954a 100644 --- a/java/jdk13/pkg-plist +++ b/java/jdk13/pkg-plist @@ -925,9 +925,9 @@ jdk%%JDK_VERSION%%/man/man1/serialver.1 jdk%%JDK_VERSION%%/man/man1/tnameserv.1 jdk%%JDK_VERSION%%/src.jar @exec mkdir -p %D/jdk%%JDK_VERSION%%/jre/lib/ext/ -@unexec rmdir %D/jdk%%JDK_VERSION%%/jre/lib/ext 2>/dev/null || true +@dirrmtry jdk%%JDK_VERSION%%/jre/lib/ext @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 # FREEBSD-JDK%%JDK_VERSION%%" @dirrm jdk%%JDK_VERSION%%/man/man1 @dirrm jdk%%JDK_VERSION%%/man |