summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xbuildconf5
1 files changed, 5 insertions, 0 deletions
diff --git a/buildconf b/buildconf
index b6d70a670..89d94a8db 100755
--- a/buildconf
+++ b/buildconf
@@ -33,6 +33,11 @@ die(){
findtool(){
file="$1"
+ if test -f "$file"; then
+ echo "$file"
+ return
+ fi
+
old_IFS=$IFS; IFS=':'
for path in $PATH
do