From 82d5b467eece8bdb495f88a47f41b384ebf68f83 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dag-Erling=20Sm=C3=B8rgrav?= Date: Thu, 25 Oct 2007 11:15:19 +0000 Subject: Fix the case where ${bindir} is a symlink. --- devel/autoconf-wrapper/files/autotools-wrapper.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'devel/autoconf-wrapper/files/autotools-wrapper.sh') diff --git a/devel/autoconf-wrapper/files/autotools-wrapper.sh b/devel/autoconf-wrapper/files/autotools-wrapper.sh index 571520c321d1..4fe599dfe091 100644 --- a/devel/autoconf-wrapper/files/autotools-wrapper.sh +++ b/devel/autoconf-wrapper/files/autotools-wrapper.sh @@ -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 | { -- cgit v1.2.3