bruh
Signed-off-by: fukiame <fukiame@proton.me>
This commit is contained in:
parent
37f1be740c
commit
ab18d0ae1f
1 changed files with 4 additions and 6 deletions
|
|
@ -81,8 +81,7 @@ for f in patches/*.sh ; do
|
|||
echo "$minver $chk"
|
||||
[ "${#chk}" -ne 2 ] && {
|
||||
warn "[parser] skipping [$pname] with malformed minver"
|
||||
continue
|
||||
}
|
||||
continue ; }
|
||||
|
||||
minmajor="$(bb_split "$minver" '.' '0')"
|
||||
minminor="$(bb_split "$minver" '.' '1')"
|
||||
|
|
@ -96,12 +95,11 @@ for f in patches/*.sh ; do
|
|||
continue ; }
|
||||
} || :
|
||||
[ -n "$maxver" ] && {
|
||||
chk="${minver//[^.]}"
|
||||
echo "$minver $chk"
|
||||
chk="${maxver//[^.]}"
|
||||
echo "$maxver $chk"
|
||||
[ "${#chk}" -ne 2 ] && {
|
||||
warn "[parser] skipping [$pname] with malformed maxver"
|
||||
continue
|
||||
}
|
||||
continue ; }
|
||||
|
||||
maxmajor="$(bb_split "$maxver" '.' '0')"
|
||||
maxminor="$(bb_split "$maxver" '.' '1')"
|
||||
|
|
|
|||
Reference in a new issue