From d568611c3eb334453c4a0352b61f081a623d72f1 Mon Sep 17 00:00:00 2001 From: Edwin Groothuis Date: Sun, 22 Jan 2006 05:52:28 +0000 Subject: eplace ugly "@unexec rmdir %D... 2>/dev/null || true" with @dirrmtry Approved by: krion@ PR: ports/88711 (related) --- devel/porttools/files/patch-cmd_test.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'devel/porttools/files/patch-cmd_test.in') diff --git a/devel/porttools/files/patch-cmd_test.in b/devel/porttools/files/patch-cmd_test.in index c73b616f58bc..f5c918f27544 100644 --- a/devel/porttools/files/patch-cmd_test.in +++ b/devel/porttools/files/patch-cmd_test.in @@ -15,7 +15,7 @@ sed -e "s,^${PREFIX}/,," + sudo find ${LOCALBASE}/ -type d | sed "s,^${LOCALBASE}/,," | sort > ${PREFIX}.PLIST_DIRS.before + sudo find ${PREFIX}/ -type d | sed "s,^${PREFIX}/,," | sort > ${PREFIX}.PLIST_DIRS.after -+ comm -13 ${PREFIX}.PLIST_DIRS.before ${PREFIX}.PLIST_DIRS.after | sort -r | awk '{print "@unexec rmdir %D/"$1" 2>/dev/null || true"}' ++ comm -13 ${PREFIX}.PLIST_DIRS.before ${PREFIX}.PLIST_DIRS.after | sort -r | awk '{print "@dirrmtry "$1}' fi # Finish with a clean workspace -- cgit v1.2.3