aboutsummaryrefslogtreecommitdiff
path: root/buildconf
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2005-06-09 22:43:13 +0000
committerDaniel Stenberg <daniel@haxx.se>2005-06-09 22:43:13 +0000
commita214af0830b0a618535a937573f1db3e7f85b009 (patch)
treec2fc1c610377392962357e1147494ba734741f2b /buildconf
parentf21bc46e825657c5a3e7dbad8b922feda0e7be43 (diff)
make sure the found tool is a regular file (and not a dir or something)
Diffstat (limited to 'buildconf')
-rwxr-xr-xbuildconf2
1 files changed, 1 insertions, 1 deletions
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