svn commit: r359935 - head/Mk/Scripts
Antoine Brodin
antoine at FreeBSD.org
Mon Jun 30 22:26:52 UTC 2014
Author: antoine
Date: Mon Jun 30 22:26:51 2014
New Revision: 359935
URL: http://svnweb.freebsd.org/changeset/ports/359935
QAT: https://qat.redports.org/buildarchive/r359935/
Log:
Do not report parent directories of LOCALBASE as orphans
Reported and tested by: gerald
With hat: portmgr
Modified:
head/Mk/Scripts/check-stagedir.sh
Modified: head/Mk/Scripts/check-stagedir.sh
==============================================================================
--- head/Mk/Scripts/check-stagedir.sh Mon Jun 30 22:05:48 2014 (r359934)
+++ head/Mk/Scripts/check-stagedir.sh Mon Jun 30 22:26:51 2014 (r359935)
@@ -157,6 +157,14 @@ parse_mtree() {
fi
unset MTREE_FILE GNOME_MTREE_FILE
+ # Add LOCALBASE
+ a=${LOCALBASE}
+ while :; do
+ echo ${a}
+ a=${a%/*}
+ [ -z "${a}" ] && break
+ done
+
# Add in PREFIX if this port wants it
if [ ${NO_PREFIX_RMDIR} -eq 0 ]; then
a=${PREFIX}
More information about the svn-ports-head
mailing list