aboutsummaryrefslogtreecommitdiffstats
path: root/devel/cvsweb
diff options
context:
space:
mode:
authoredwin <edwin@FreeBSD.org>2006-01-22 13:52:28 +0800
committeredwin <edwin@FreeBSD.org>2006-01-22 13:52:28 +0800
commitc4a26e854bc716521cc036b6b2af382ca3e9f354 (patch)
treea083545526674c69152efa5a6d9d6c36905a818d /devel/cvsweb
parent3741cfb89629b7acd480b6f6e5c942f8fe50106b (diff)
downloadfreebsd-ports-gnome-c4a26e854bc716521cc036b6b2af382ca3e9f354.tar.gz
freebsd-ports-gnome-c4a26e854bc716521cc036b6b2af382ca3e9f354.tar.zst
freebsd-ports-gnome-c4a26e854bc716521cc036b6b2af382ca3e9f354.zip
eplace ugly "@unexec rmdir %D... 2>/dev/null || true" with @dirrmtry
Approved by: krion@ PR: ports/88711 (related)
Diffstat (limited to 'devel/cvsweb')
-rw-r--r--devel/cvsweb/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/devel/cvsweb/Makefile b/devel/cvsweb/Makefile
index dcbdcf136495..ae355ef65933 100644
--- a/devel/cvsweb/Makefile
+++ b/devel/cvsweb/Makefile
@@ -81,7 +81,8 @@ do-install:
post-install:
.if defined(PACKAGE_BUILDING)
- ${ECHO_CMD} "@unexec rmdir %D/${CGIDIR} %D/${ICONSDIR} 2>/dev/null || true" >> ${TMPPLIST}
+ ${ECHO_CMD} "@dirrmtry ${CGIDIR}" >> ${TMPPLIST}
+ ${ECHO_CMD} "@dirrmtry ${ICONSDIR}" >> ${TMPPLIST}
.endif
@${CAT} ${PKGMESSAGE}