diff options
author | Daniel Stenberg <daniel@haxx.se> | 2005-06-09 22:43:13 +0000 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2005-06-09 22:43:13 +0000 |
commit | a214af0830b0a618535a937573f1db3e7f85b009 (patch) | |
tree | c2fc1c610377392962357e1147494ba734741f2b /buildconf | |
parent | f21bc46e825657c5a3e7dbad8b922feda0e7be43 (diff) |
make sure the found tool is a regular file (and not a dir or something)
Diffstat (limited to 'buildconf')
-rwxr-xr-x | buildconf | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 |