fix get_patch_last_supported_ver

This commit is contained in:
j-hc 2024-11-13 02:27:05 +03:00
parent 3a6a30f02a
commit b22973b3c5
No known key found for this signature in database
GPG Key ID: CDF97F1DBFE904CD

View File

@ -228,7 +228,7 @@ get_patch_last_supported_ver() {
ver=$(sed -n "/^Name: $line\$/,/^\$/p" <<<"$op" | sed -n "/^Compatible versions:\$/,/^\$/p" | tail -n +2)
vers=${ver}${NL}
done <<<"$(list_args "$inc_sel")"
vers=$(xargs <<<"$vers")
vers=$(awk '{$1=$1}1' <<<"$vers")
if [ "$vers" ]; then
get_highest_ver <<<"$vers"
return