Date: Mon, 30 Jun 2014 22:26:52 +0000 (UTC) From: Antoine Brodin <antoine@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r359935 - head/Mk/Scripts Message-ID: <201406302226.s5UMQqXV061257@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
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}
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201406302226.s5UMQqXV061257>