summaryrefslogtreecommitdiffstats
path: root/misc/compat4x
diff options
context:
space:
mode:
authoredwin <edwin@FreeBSD.org>2006-01-22 05:52:28 +0000
committeredwin <edwin@FreeBSD.org>2006-01-22 05:52:28 +0000
commitc4a26e854bc716521cc036b6b2af382ca3e9f354 (patch)
treea083545526674c69152efa5a6d9d6c36905a818d /misc/compat4x
parent3741cfb89629b7acd480b6f6e5c942f8fe50106b (diff)
downloadFreeBSD-ports-c4a26e854bc716521cc036b6b2af382ca3e9f354.zip
FreeBSD-ports-c4a26e854bc716521cc036b6b2af382ca3e9f354.tar.gz
eplace ugly "@unexec rmdir %D... 2>/dev/null || true" with @dirrmtry
Approved by: krion@ PR: ports/88711 (related)
Diffstat (limited to 'misc/compat4x')
-rw-r--r--misc/compat4x/pkg-plist.freebsd42
-rw-r--r--misc/compat4x/pkg-plist.freebsd54
2 files changed, 3 insertions, 3 deletions
diff --git a/misc/compat4x/pkg-plist.freebsd4 b/misc/compat4x/pkg-plist.freebsd4
index da57584..35824c3 100644
--- a/misc/compat4x/pkg-plist.freebsd4
+++ b/misc/compat4x/pkg-plist.freebsd4
@@ -3,4 +3,4 @@
lib/compat/libfetch.so.2
%%FORBIDDEN:%%lib/compat/libssl.so.1
%%FORBIDDEN:%%lib/compat/libssl.so.2
-@unexec rmdir %D/lib/compat 2>/dev/null || true
+@dirrmtry lib/compat
diff --git a/misc/compat4x/pkg-plist.freebsd5 b/misc/compat4x/pkg-plist.freebsd5
index 5861550..2856b16 100644
--- a/misc/compat4x/pkg-plist.freebsd5
+++ b/misc/compat4x/pkg-plist.freebsd5
@@ -40,6 +40,6 @@
%%USE_LDCONFIG%%libdata/ldconfig/compat4x
%%USE_LDCONFIG%%%%AMD64_ONLY%%libdata/ldconfig32/compat4x
%%AMD64_ONLY%%@exec %%LDCONFIG_LIB32%% -m %D/%%LIBDIR%%/compat
-@unexec rmdir %D/%%LIBDIR%%/compat 2>/dev/null || true
+@dirrmtry %%LIBDIR%%/compat
@comment Hardcode lib32 since we should not remove lib.
-@unexec rmdir %D/lib32 2>/dev/null || true
+@dirrmtry lib32
OpenPOWER on IntegriCloud