Backport #922 from trunk: 1.2
author"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Sat Aug 09 18:06:43 2008 +0000 (2008-08-09)
branch1.2
changeset 780da5cd379de06
parent 779 373b781403fa
child 781 33c13a486d89
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(-)
scripts/functions
     1.1 --- a/scripts/functions	Sat Aug 09 18:05:46 2008 +0000
     1.2 +++ b/scripts/functions	Sat Aug 09 18:06:43 2008 +0000
     1.3 @@ -171,7 +171,7 @@
     1.4  # Test the presence of a tool, or abort if not found
     1.5  # Usage: CT_HasOrAbort <tool>
     1.6  CT_HasOrAbort() {
     1.7 -    CT_TestAndAbort "'${1}' not found and needed for successful toolchain build." -z ""$(CT_Which "${1}")
     1.8 +    CT_TestAndAbort "'${1}' not found and needed for successful toolchain build." -z "$(CT_Which "${1}")"
     1.9      return 0
    1.10  }
    1.11