mirror of
https://github.com/crosstool-ng/crosstool-ng.git
synced 2025-06-17 06:48:16 +00:00
Merge #911 from banches/eglibc:
Fix testing for tool's presence. /trunk/scripts/functions | 2 1 1 0 +- 1 file changed, 1 insertion(+), 1 deletion(-)
This commit is contained in:
@ -171,7 +171,7 @@ CT_TestOrAbort() {
|
|||||||
# Test the presence of a tool, or abort if not found
|
# Test the presence of a tool, or abort if not found
|
||||||
# Usage: CT_HasOrAbort <tool>
|
# Usage: CT_HasOrAbort <tool>
|
||||||
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
|
return 0
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user