View | Details | Raw Unified | Return to bug 190847 | Differences between
and this patch

Collapse All | Expand All

(-)Mk/bsd.python.mk (+1 lines)
Lines 629-634 Link Here
629
	@${AWK} '\
629
	@${AWK} '\
630
		/\.py[co]$$/ && !($$0 ~ "/" pc "/") {id = match($$0, /\/[^\/]+\.py[co]$$/); if (id != 0) {d = substr($$0, 1, RSTART - 1); dirs[d] = 1}; sub(/\.py[co]$$/,  "." mt "&"); sub(/[^\/]+\.py[co]$$/, pc "/&"); print; next} \
630
		/\.py[co]$$/ && !($$0 ~ "/" pc "/") {id = match($$0, /\/[^\/]+\.py[co]$$/); if (id != 0) {d = substr($$0, 1, RSTART - 1); dirs[d] = 1}; sub(/\.py[co]$$/,  "." mt "&"); sub(/[^\/]+\.py[co]$$/, pc "/&"); print; next} \
631
		/^@dirrm / {d = substr($$0, 8); if (d in dirs) {print $$0 "/" pc}; print $$0; next} \
631
		/^@dirrm / {d = substr($$0, 8); if (d in dirs) {print $$0 "/" pc}; print $$0; next} \
632
		/^@dirrmtry / {d = substr($$0, 11); if (d in dirs) {print $$0 "/" pc}; print $$0; next} \
632
		{print} \
633
		{print} \
633
		END {if (sp in dirs) {print "@dirrm " sp "/" pc}} \
634
		END {if (sp in dirs) {print "@dirrm " sp "/" pc}} \
634
		' \
635
		' \

Return to bug 190847