Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 29 Nov 2013 16:08:41 +0000 (UTC)
From:      Mathieu Arnold <mat@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r335192 - head/Mk/Scripts
Message-ID:  <201311291608.rATG8fM7005732@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: mat
Date: Fri Nov 29 16:08:41 2013
New Revision: 335192
URL: http://svnweb.freebsd.org/changeset/ports/335192

Log:
  Fixup makeplist for directories.
  
  Without, it'll generate :
  @dirrmtry %%PORTDOCS%%%%DOCSDIR%%
  With :
  %%PORTDOCS%%@dirrmtry %%DOCSDIR%%
  
  PR:		ports/184287
  Submitted by:	mat
  Approved by:	bapt

Modified:
  head/Mk/Scripts/check-stagedir.sh

Modified: head/Mk/Scripts/check-stagedir.sh
==============================================================================
--- head/Mk/Scripts/check-stagedir.sh	Fri Nov 29 16:06:07 2013	(r335191)
+++ head/Mk/Scripts/check-stagedir.sh	Fri Nov 29 16:08:41 2013	(r335192)
@@ -107,9 +107,9 @@ cat ${WRKDIR}/.plist-dirs-unsorted ${WRK
 find ${STAGEDIR} -type d | sed -e "s,^${STAGEDIR},,;/^$/d" | sort >${WRKDIR}/.staged-dirs
 comm -13 ${WRKDIR}/.traced-dirs ${WRKDIR}/.staged-dirs \
 	| sort -r | sed \
+	-e 's,^,@dirrmtry ,' \
 	-e "s,\(.*\)${DOCSDIR},%%PORTDOCS%%\1%%DOCSDIR%%,g" \
 	-e "s,\(.*\)${EXAMPLESDIR},%%PORTEXAMPLES%%\1%%EXAMPLESDIR%%,g" \
 	-e "s,${DATADIR},%%DATADIR%%,g" \
 	-e "s,${PREFIX}/,,g" \
-	-e 's,^,@dirrmtry ,' \
 	-e 's,@dirrmtry \(/.*\),@unexec rmdir >/dev/null 2>\&1 \1 || :,' | grep -v "^@dirrmtry share/licenses" || [ $? = 1 ]



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201311291608.rATG8fM7005732>