From a214af0830b0a618535a937573f1db3e7f85b009 Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Thu, 9 Jun 2005 22:43:13 +0000 Subject: make sure the found tool is a regular file (and not a dir or something) --- buildconf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/buildconf b/buildconf index 709434f49..d7efd575f 100755 --- a/buildconf +++ b/buildconf @@ -13,7 +13,7 @@ findtool(){ IFS=":" for path in $PATH do - if test -r "$path/$file"; then + if test -f "$path/$file"; then echo "$path/$file" return fi -- cgit v1.2.3