mirror of
https://github.com/crosstool-ng/crosstool-ng.git
synced 2024-12-19 12:57:53 +00:00
Eye-candy in ./configure.
/trunk/configure | 6 3 3 0 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)
This commit is contained in:
parent
679fd52ed1
commit
a9f3c8fa8b
6
configure
vendored
6
configure
vendored
@ -56,15 +56,15 @@ has_or_abort() {
|
||||
where=$(which "${tool}" 2>/dev/null || true)
|
||||
if [ -z "${where}" ]; then
|
||||
printf "not found!"
|
||||
[ ${FORCE} -eq 0 ] && do_error " bailing out..."
|
||||
[ ${FORCE} -eq 0 ] && do_error " Bailing out..."
|
||||
echo
|
||||
else
|
||||
printf "${where}"
|
||||
if [ -n "${regexp}" ]; then
|
||||
str=$(${tool} --version 2>&1 |egrep "${regexp}" |head -n 1)
|
||||
if [ -z "${str}" ]; then
|
||||
printf " failed: '${tool} --version' does not match regexp '${regexp}'"
|
||||
[ ${FORCE} -eq 0 ] && do_error " bailing out..."
|
||||
printf " failed: '${tool} --version' does not match regexp '${regexp}'."
|
||||
[ ${FORCE} -eq 0 ] && do_error " Bailing out..."
|
||||
fi
|
||||
fi
|
||||
echo
|
||||
|
Loading…
Reference in New Issue
Block a user