summaryrefslogtreecommitdiff
path: root/devel/porttools/files/patch-cmd_test.in
diff options
context:
space:
mode:
Diffstat (limited to 'devel/porttools/files/patch-cmd_test.in')
-rw-r--r--devel/porttools/files/patch-cmd_test.in2
1 files changed, 1 insertions, 1 deletions
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