aboutsummaryrefslogtreecommitdiff
path: root/buildconf
diff options
context:
space:
mode:
authorKalle Vahlman <zuh@iki.fi>2008-01-10 18:46:43 +0200
committerDaniel Stenberg <daniel@haxx.se>2010-04-26 15:54:09 +0200
commita7b9452a6b68099577313a36a0d8e9d9bc8d4dc4 (patch)
treea60ece95558dd2ba05e700708936072d2916ace0 /buildconf
parent2c1b0624ac6ed2695e121bd9581a9eb9762a5c98 (diff)
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.
Diffstat (limited to 'buildconf')
-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