diff options
author | Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> | 2008-08-09 18:06:43 +0000 |
---|---|---|
committer | Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> | 2008-08-09 18:06:43 +0000 |
commit | 92bc8d23a4db2a144f27680da78e3f8f8b547f8d (patch) | |
tree | 384b97122d84e367a0772de7feb147bf495ef26c | |
parent | b09275ea5e880c8bb6e19d0e225c0dfe45c629ae (diff) | |
download | crosstool-ng-92bc8d23a4db2a144f27680da78e3f8f8b547f8d.tar.gz crosstool-ng-92bc8d23a4db2a144f27680da78e3f8f8b547f8d.tar.bz2 crosstool-ng-92bc8d23a4db2a144f27680da78e3f8f8b547f8d.zip |
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(-)
-rw-r--r-- | scripts/functions | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/functions b/scripts/functions index f0db2b85..d753f374 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 <tool> 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 } |