# HG changeset patch # User "Yann E. MORIN" # Date 1218305203 0 # Node ID da5cd379de06d0ccba2d44454aa06ac75097c37b # Parent 373b781403fac77db2827b4702ddbd0ff9dbebde Backport #922 from trunk: Fix testing for tool's presence. /branches/1.2/scripts/functions | 2 1 1 0 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff -r 373b781403fa -r da5cd379de06 scripts/functions --- a/scripts/functions Sat Aug 09 18:05:46 2008 +0000 +++ b/scripts/functions Sat Aug 09 18:06:43 2008 +0000 @@ -171,7 +171,7 @@ # Test the presence of a tool, or abort if not found # Usage: CT_HasOrAbort CT_HasOrAbort() { - CT_TestAndAbort "'${1}' not found and needed for successful toolchain build." -z ""$(CT_Which "${1}") + CT_TestAndAbort "'${1}' not found and needed for successful toolchain build." -z "$(CT_Which "${1}")" return 0 }