diff options
author | Dag-Erling Smørgrav <des@FreeBSD.org> | 2007-11-09 14:47:27 +0000 |
---|---|---|
committer | Dag-Erling Smørgrav <des@FreeBSD.org> | 2007-11-09 14:47:27 +0000 |
commit | d435c982ea203fc3dcbe21825ffab325ffa97867 (patch) | |
tree | 88749adec95ae9da2c18bcf460b5098b52e1eaa1 /devel/autoconf-wrapper/files/autotools-wrapper.sh | |
parent | Update to 0.9.6. (diff) |
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@)
Diffstat (limited to 'devel/autoconf-wrapper/files/autotools-wrapper.sh')
-rw-r--r-- | devel/autoconf-wrapper/files/autotools-wrapper.sh | 4 |
1 files changed, 2 insertions, 2 deletions
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 |