Check-in [e3cf6a347d]

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:Remove prefix from @dirrmtry
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1:e3cf6a347d5deef49aa5fb63026d9637fafc0c65
User & Date: bapt 2012-06-08 05:31:33
Context
2012-06-08
05:32
By default propose @dirrm not @dirrmtry check-in: 0cdb938d38 user: bapt tags: trunk
05:31
Remove prefix from @dirrmtry check-in: e3cf6a347d user: bapt tags: trunk
05:15
switch to test -d don't why previous version didn't work, correctly pass -w to sync_from_stage.sh check-in: f62b2087c2 user: bapt tags: trunk
Changes

Changes to ports/Mk/bsd.stage.mk.

44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62

63
			[ -z "$${a}" ] && break ; \
			echo $${a} >> ${WRKDIR}/.mtree ; \
		done
	@${FIND} ${STAGEDIR} -type f -o -type l | 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"
	@${FIND} ${STAGEDIR} -type d | sed -e "s,${STAGEDIR},,g" \
		| while read line; do \
		grep -qw "^$${line}$$" ${WRKDIR}/.mtree || { \
			if [ -n "$${line}" ]; then \
				${ECHO_CMD} "@dirrmtry $${line}"; \
			fi ; \
		}; \
		done | sort -r | sed \
		-e "s,\(.*\)${DOCSDIR},%%PORTDOCS%%\1%%DOCSDIR%%,g" \
		-e "s,\(.*\)${EXAMPLESDIR},%%PORTEXAMPLES%%\1%%EXAMPLESDIR%%,g" \
		-e "s,${DATADIR},%%DATADIR%%,g"

.endif







|










|
>

44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
			[ -z "$${a}" ] && break ; \
			echo $${a} >> ${WRKDIR}/.mtree ; \
		done
	@${FIND} ${STAGEDIR} -type f -o -type l | 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
	@${FIND} ${STAGEDIR} -type d | sed -e "s,${STAGEDIR},,g" \
		| while read line; do \
		grep -qw "^$${line}$$" ${WRKDIR}/.mtree || { \
			if [ -n "$${line}" ]; then \
				${ECHO_CMD} "@dirrmtry $${line}"; \
			fi ; \
		}; \
		done | sort -r | sed \
		-e "s,\(.*\)${DOCSDIR},%%PORTDOCS%%\1%%DOCSDIR%%,g" \
		-e "s,\(.*\)${EXAMPLESDIR},%%PORTEXAMPLES%%\1%%EXAMPLESDIR%%,g" \
		-e "s,${DATADIR},%%DATADIR%%,g" \
		-e "s,${PREFIX},,g"
.endif