1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-12 07:27:57 +00:00

Fix the case where ${bindir} is a symlink.

This commit is contained in:
Dag-Erling Smørgrav 2007-10-25 11:15:19 +00:00
parent c6e1ca916e
commit 82d5b467ee
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=201987
2 changed files with 2 additions and 2 deletions

View File

@ -6,7 +6,7 @@
#
PORTNAME?= autoconf-wrapper
PORTVERSION= 20070404
PORTVERSION= 20071025
CATEGORIES= devel
MASTER_SITES= # none
DISTFILES= # none

View File

@ -63,7 +63,7 @@ fi
# is present both as "toolABC" and as "tool-A.BC". We take no special
# measures to handle this case.
#
find ${bindir} -name "${tool}*[0-9]" | sed -E \
find ${bindir}/ -name "${tool}*[0-9]" | sed -E \
-e "s@^.*/${tool}-([0-9])\\.([0-9]+)\$@\1 \2 -\1.\2@" \
-e "s@^.*/${tool}([0-9])([0-9]+)\$@\1 \2 \1\2@" | \
sort -n -k1 | sort -n -s -k2 | {