Instead of just complaining about a version mismatch, clearly lists the versions
available locally. This commit was SVN r22044.
Этот коммит содержится в:
родитель
16c6370b73
Коммит
cf9f38eb56
@ -184,6 +184,7 @@ find_app() {
|
|||||||
local version="0.0.0"
|
local version="0.0.0"
|
||||||
local min_version="99.99.99"
|
local min_version="99.99.99"
|
||||||
local found=0
|
local found=0
|
||||||
|
local versions_found=""
|
||||||
local tmpIFS=$IFS
|
local tmpIFS=$IFS
|
||||||
|
|
||||||
eval "min_version=\"\$ompi_${app_name}_version\""
|
eval "min_version=\"\$ompi_${app_name}_version\""
|
||||||
@ -206,6 +207,7 @@ find_app() {
|
|||||||
found=1
|
found=1
|
||||||
break
|
break
|
||||||
fi
|
fi
|
||||||
|
versions_found="${versions_found} ${version}"
|
||||||
done
|
done
|
||||||
|
|
||||||
IFS="$tmpIFS"
|
IFS="$tmpIFS"
|
||||||
@ -213,6 +215,7 @@ find_app() {
|
|||||||
if test "$found" = "0" ; then
|
if test "$found" = "0" ; then
|
||||||
cat <<EOF
|
cat <<EOF
|
||||||
I could not find a recent enough copy of ${app_name}.
|
I could not find a recent enough copy of ${app_name}.
|
||||||
|
Need at least $min_version but found $versions_found in $search_path.
|
||||||
I am gonna abort. :-(
|
I am gonna abort. :-(
|
||||||
|
|
||||||
Please make sure you are using at least the following versions of the
|
Please make sure you are using at least the following versions of the
|
||||||
|
Загрузка…
x
Ссылка в новой задаче
Block a user