From d435c982ea203fc3dcbe21825ffab325ffa97867 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dag-Erling=20Sm=C3=B8rgrav?= Date: Fri, 9 Nov 2007 14:47:27 +0000 Subject: Use full path to find, sed and sort, to avoid surprises when other versions are present (e.g. when building openwrt) Requested by: luigi@ Approved by: portmgr (pav@) --- devel/autoconf-wrapper/files/autotools-wrapper.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (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 4fe599dfe091..e569db1cf926 100644 --- a/devel/autoconf-wrapper/files/autotools-wrapper.sh +++ b/devel/autoconf-wrapper/files/autotools-wrapper.sh @@ -63,10 +63,10 @@ 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 \ +/usr/bin/find ${bindir}/ -name "${tool}*[0-9]" | /usr/bin/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 | { + /usr/bin/sort -n -k1 | /usr/bin/sort -n -s -k2 | { while read maj min suffix ; do selected_version="$maj$min" selected_suffix=$suffix -- cgit v1.2.3