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 /www/xaraya | |
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 'www/xaraya')
-rw-r--r-- | www/xaraya/Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/www/xaraya/Makefile b/www/xaraya/Makefile index eb4d3ebd1ce6..85fa9e0605c4 100644 --- a/www/xaraya/Makefile +++ b/www/xaraya/Makefile @@ -56,7 +56,7 @@ post-install: -or -name upgrade.php ')' | ${SED} -e \ 's,^${PREFIX}/\(.*\),@unexec rm -f %D/\1 >/dev/null 2>\&1 || true,' >> ${TMPPLIST} @${FIND} ${PREFIX}/${XARAYADIR} -type d -and -path "*var*" | \ - ${SED} -e 's,^${PREFIX}/\(.*\),@unexec rmdir %D/\1 >/dev/null 2>\&1 || true,' | \ + ${SED} -e 's,^${PREFIX}/\(.*\),@dirrmtry \1,' | \ ${SORT} -r >> ${TMPPLIST} @${FIND} ${PREFIX}/${XARAYADIR} -type d -and ! -path "*var*" | \ ${SED} -e 's,^${PREFIX}/,@dirrm ,' | \ |