diff options
author | bapt <bapt@FreeBSD.org> | 2013-09-23 18:23:35 +0800 |
---|---|---|
committer | bapt <bapt@FreeBSD.org> | 2013-09-23 18:23:35 +0800 |
commit | 73b38d9892b29daef3d346a13287df05f5b08d02 (patch) | |
tree | fcfe45d5343a4bd05d836ab07bba338588a37ad6 /Mk | |
parent | 0d6d89bb59130c870bd31f26d3ef14f4f49afbb6 (diff) | |
download | freebsd-ports-gnome-73b38d9892b29daef3d346a13287df05f5b08d02.tar.gz freebsd-ports-gnome-73b38d9892b29daef3d346a13287df05f5b08d02.tar.zst freebsd-ports-gnome-73b38d9892b29daef3d346a13287df05f5b08d02.zip |
Sort earlier to preserver the FS ordering
Reported by: danfe
Diffstat (limited to 'Mk')
-rw-r--r-- | Mk/bsd.stage.mk | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Mk/bsd.stage.mk b/Mk/bsd.stage.mk index 6d9076fa4cf7..1be700668da4 100644 --- a/Mk/bsd.stage.mk +++ b/Mk/bsd.stage.mk @@ -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 || { \ |