1
0
mirror of https://github.com/moparisthebest/curl synced 2024-12-22 08:08:50 -05:00

Allow tools to be defined with full path in buildconf

This is required in Scratchbox where
LIBTOOL=/targets/links/arch_tools/bin/libtool
is set in the environment.
This commit is contained in:
Kalle Vahlman 2008-01-10 18:46:43 +02:00 committed by Daniel Stenberg
parent 2c1b0624ac
commit a7b9452a6b

View File

@ -33,6 +33,11 @@ die(){
findtool(){ findtool(){
file="$1" file="$1"
if test -f "$file"; then
echo "$file"
return
fi
old_IFS=$IFS; IFS=':' old_IFS=$IFS; IFS=':'
for path in $PATH for path in $PATH
do do