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 /net/vnc | |
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 'net/vnc')
-rw-r--r-- | net/vnc/Makefile | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/net/vnc/Makefile b/net/vnc/Makefile index 04a713fa9f6d..5974fb544eaf 100644 --- a/net/vnc/Makefile +++ b/net/vnc/Makefile @@ -113,9 +113,9 @@ pre-install: @if [ -f ${WRKSRC}/xc/programs/Xserver/vnc/module/vnc.so ]; then \ ${ECHO_CMD} @cwd ${X11BASE} >> ${PLIST} ; \ ${ECHO_CMD} lib/modules/extensions/vnc.so >> ${PLIST} ; \ - ${ECHO_CMD} "@unexec rmdir %D/lib/modules/extensions 2>/dev/null || true" >> ${PLIST} ; \ - ${ECHO_CMD} "@unexec rmdir %D/lib/modules 2>/dev/null || true" >> ${PLIST} ; \ - ${ECHO_CMD} "@unexec rmdir %D/lib 2>/dev/null || true" >> ${PLIST} ; \ + ${ECHO_CMD} "@dirrmtry lib/modules/extensions" >> ${PLIST} ; \ + ${ECHO_CMD} "@dirrmtry lib/modules" >> ${PLIST} ; \ + ${ECHO_CMD} "@dirrmtry lib" >> ${PLIST} ; \ fi .endif |