svn commit: r367014 - head/Mk/Scripts
Antoine Brodin
antoine at FreeBSD.org
Tue Sep 2 14:36:30 UTC 2014
Author: antoine
Date: Tue Sep 2 14:36:29 2014
New Revision: 367014
URL: http://svnweb.freebsd.org/changeset/ports/367014
QAT: https://qat.redports.org/buildarchive/r367014/
Log:
Make check-stagedir.sh aware of (owner,group,perm) syntax for keywords
Differential Revision: https://reviews.freebsd.org/D712
Reviewed by: bapt
With hat: portmgr
Modified:
head/Mk/Scripts/check-stagedir.sh
Modified: head/Mk/Scripts/check-stagedir.sh
==============================================================================
--- head/Mk/Scripts/check-stagedir.sh Tue Sep 2 14:33:48 2014 (r367013)
+++ head/Mk/Scripts/check-stagedir.sh Tue Sep 2 14:36:29 2014 (r367014)
@@ -49,6 +49,10 @@ parse_plist() {
fi
fi
+ # Strip (owner,group,perm) from keywords
+ line="$(printf %s "$line" \
+ | sed -Ee 's/^@\([^)]*\)[[:space:]]+//' \
+ -e 's/^(@[[:alpha:]]+)\([^)]*\)[[:space:]]+/\1 /')"
case $line in
@dirrm*|'@unexec rmdir'*|'@unexec /bin/rmdir'*)
line="$(printf %s "$line" \
More information about the svn-ports-head
mailing list