diff options
author | edwin <edwin@FreeBSD.org> | 2006-01-22 10:20:05 +0800 |
---|---|---|
committer | edwin <edwin@FreeBSD.org> | 2006-01-22 10:20:05 +0800 |
commit | ffa6a89c602bab7fc1470e34b05dcfe64ce87369 (patch) | |
tree | 70253ae4904e6777d975133ac5d163530a80b02a /java/jdk13 | |
parent | e8320e01ab60ecf311418120fb31f132f2adf4e9 (diff) | |
download | freebsd-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/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 |