From 92bc8d23a4db2a144f27680da78e3f8f8b547f8d Mon Sep 17 00:00:00 2001 From: "Yann E. MORIN\"" Date: Sat, 9 Aug 2008 18:06:43 +0000 Subject: 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 --git a/scripts/functions b/scripts/functions index f0db2b8..d753f37 100644 --- a/scripts/functions +++ b/scripts/functions @@ -171,7 +171,7 @@ CT_TestOrAbort() { # 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 } -- cgit v0.10.2-6-g49f6