diff options
author | edwin <edwin@FreeBSD.org> | 2006-01-22 14:28:59 +0800 |
---|---|---|
committer | edwin <edwin@FreeBSD.org> | 2006-01-22 14:28:59 +0800 |
commit | 1677f97aa26c838254a6818de8cfcfd86c746dfb (patch) | |
tree | 2c27fc7a03a5b890cdd90d621e595a87209475e6 /textproc/docbook-xml-440 | |
parent | 9a0941e0406efa462ec7e72b9a3422d5f60a1506 (diff) | |
download | freebsd-ports-gnome-1677f97aa26c838254a6818de8cfcfd86c746dfb.tar.gz freebsd-ports-gnome-1677f97aa26c838254a6818de8cfcfd86c746dfb.tar.zst freebsd-ports-gnome-1677f97aa26c838254a6818de8cfcfd86c746dfb.zip |
Replace ugly "@unexec rmdir %D... 2>/dev/null || true" with @dirrmtry
Approved by: krion@
PR: ports/88711 (related)
Diffstat (limited to 'textproc/docbook-xml-440')
-rw-r--r-- | textproc/docbook-xml-440/Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/textproc/docbook-xml-440/Makefile b/textproc/docbook-xml-440/Makefile index 7dee7d58dcfe..a0d7a73dd45f 100644 --- a/textproc/docbook-xml-440/Makefile +++ b/textproc/docbook-xml-440/Makefile @@ -53,12 +53,12 @@ pre-install: @${ECHO_CMD} "${DTDDIR}/${F}" >> ${PLIST} .endfor @${ECHO_CMD} "@dirrm ${DTDDIR}" >> ${PLIST} - @${ECHO_CMD} "@unexec rmdir %D/${XMLCATBASE}/${DTD_NAME} 2> /dev/null || true" >> ${PLIST} + @${ECHO_CMD} "@dirrmtry ${XMLCATBASE}/${DTD_NAME}" >> ${PLIST} .ifndef NOPORTDOCS .for F in ${DOC_FILES} @${ECHO_CMD} "${DOCSDIR:S!^${PREFIX}/!!}/${F}.${PORTVERSION}" >> ${PLIST} .endfor - @${ECHO_CMD} "@unexec rmdir %D/${DOCSDIR:S!^${PREFIX}/!!} 2> /dev/null || true" >> ${PLIST} + @${ECHO_CMD} "@dirrmtry ${DOCSDIR:S!^${PREFIX}/!!}" >> ${PLIST} .endif @${ECHO_CMD} "@exec ${XMLCATMGR} ${REGIST_CAT_FLAGS_XML}" >> ${PLIST} @${ECHO_CMD} "@unexec ${XMLCATMGR} ${UNREGIST_CAT_FLAGS_XML}" >> ${PLIST} |