freebsd-ports/ports-mgmt/porttools/files/patch-cmd_test.in
Andrej Zverev 7d2e9542b8 - Try to be more friendly with 'spaces' in @dirrmtry while rendering pkg-plist.***
- RIP MD5 in distinfo while I'm here.

*** I'm not sure about this patch, so you can argue about it with me.
    Also you can look ports/152102.

PR:		ports/152156
Submitted by:	az
Approved by:	sergei (timeout)
2010-12-14 18:38:51 +00:00

11 lines
594 B
Text

--- cmd_test.in 2009-09-09 23:59:59.000000000 +0400
+++ cmd_test.in 2010-11-10 13:57:10.000000000 +0300
@@ -189,7 +189,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 "@dirrmtry "$1}'
+ comm -13 ${PREFIX}.PLIST_DIRS.before ${PREFIX}.PLIST_DIRS.after | sort -r | awk '{print "@dirrmtry "$0}'
fi
# Finish with a clean workspace