svn commit: r327968 - head/Mk
Baptiste Daroussin
bapt at FreeBSD.org
Mon Sep 23 10:23:36 UTC 2013
Author: bapt
Date: Mon Sep 23 10:23:35 2013
New Revision: 327968
URL: http://svnweb.freebsd.org/changeset/ports/327968
Log:
Sort earlier to preserver the FS ordering
Reported by: danfe
Modified:
head/Mk/bsd.stage.mk
Modified: head/Mk/bsd.stage.mk
==============================================================================
--- head/Mk/bsd.stage.mk Mon Sep 23 10:20:56 2013 (r327967)
+++ head/Mk/bsd.stage.mk Mon Sep 23 10:23:35 2013 (r327968)
@@ -82,11 +82,11 @@ makeplist: stage
[ -z "$${a}" ] && break ; \
${ECHO_CMD} $${a} >> ${WRKDIR}/.mtree ; \
done
- @${FIND} ${STAGEDIR} -type f -o -type l | ${SED} -e "s,${STAGEDIR},,g" \
+ @${FIND} ${STAGEDIR} -type f -o -type l | sort | ${SED} -e "s,${STAGEDIR},,g" \
-e "s,${DOCSDIR},%%PORTDOCS%%%%DOCSDIR%%,g" \
-e "s,${EXAMPLESDIR},%%PORTEXAMPLES%%%%EXAMPLESDIR%%,g" \
-e "s,${DATADIR},%%DATADIR%%,g" \
- -e "s,${PREFIX}/,,g" | sort | grep -v "^share/licenses" || ${TRUE}
+ -e "s,${PREFIX}/,,g" | grep -v "^share/licenses" || ${TRUE}
@${FIND} ${STAGEDIR} -type d | sed -e "s,${STAGEDIR},,g" \
| while read line; do \
${GREP} -qw "^$${line}$$" ${WRKDIR}/.mtree || { \
More information about the svn-ports-head
mailing list