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:
parent
c6e1ca916e
commit
82d5b467ee
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=201987
@ -6,7 +6,7 @@
|
||||
#
|
||||
|
||||
PORTNAME?= autoconf-wrapper
|
||||
PORTVERSION= 20070404
|
||||
PORTVERSION= 20071025
|
||||
CATEGORIES= devel
|
||||
MASTER_SITES= # none
|
||||
DISTFILES= # none
|
||||
|
@ -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 | {
|
||||
|
Loading…
Reference in New Issue
Block a user