Allow 'make search ...' to work even if the ports tree is symbolically
linked from somewhere else. PR: ports/42060
This commit is contained in:
parent
2c67ffff5e
commit
f6b17d3f6f
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=65552
1 changed files with 1 additions and 1 deletions
|
@ -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); }'; \
|
||||
|
|
Loading…
Reference in a new issue