aboutsummaryrefslogtreecommitdiff
path: root/Mk/bsd.port.subdir.mk
diff options
context:
space:
mode:
authorJosef Karthauser <joe@FreeBSD.org>2002-09-03 09:08:28 +0000
committerJosef Karthauser <joe@FreeBSD.org>2002-09-03 09:08:28 +0000
commitf6b17d3f6fe8322df5612b1bfc6809505754434e (patch)
treec7e91f65bc34a5d3c49b3714a09b57983daa5ba3 /Mk/bsd.port.subdir.mk
parent2c67ffff5eb4da9b6ee32c832b7cff8f19055646 (diff)
downloadports-f6b17d3f6fe8322df5612b1bfc6809505754434e.tar.gz
ports-f6b17d3f6fe8322df5612b1bfc6809505754434e.zip
Notes
Diffstat (limited to 'Mk/bsd.port.subdir.mk')
-rw-r--r--Mk/bsd.port.subdir.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/Mk/bsd.port.subdir.mk b/Mk/bsd.port.subdir.mk
index 61cdec288761..e677ea728e05 100644
--- a/Mk/bsd.port.subdir.mk
+++ b/Mk/bsd.port.subdir.mk
@@ -252,7 +252,7 @@ README.html:
search: ${PORTSDIR}/INDEX
@here=`pwd`; \
cd ${PORTSDIR}; \
- top=`pwd`; \
+ top=`pwd -P`; \
there=`echo "$$here/" | sed s%$$top%${PORTSDIR}%`; \
if [ -n "$$key" ]; then \
grep $$there ${PORTSDIR}/INDEX | grep -i "${key}" | awk -F\| '{ printf("Port:\t%s\nPath:\t%s\nInfo:\t%s\nMaint:\t%s\nIndex:\t%s\nB-deps:\t%s\nR-deps:\t%s\n\n", $$1, $$2, $$4, $$6, $$7, $$8, $$9); }'; \