mirror of
https://github.com/Dasharo/coreboot.git
synced 2026-06-13 10:16:48 -07:00
.github/scripts/capsule-lint.sh: fix hex->dec conversion
Change-Id: I8b41c5b3a0a91ffc85e348c89477e5f56209efd5 Upstream-Status: Inappropriate [Dasharo downstream] Signed-off-by: Sergii Dmytruk <sergii.dmytruk@3mdeb.com>
This commit is contained in:
@@ -22,7 +22,7 @@ function hex_to_ver_str() {
|
||||
|
||||
local ver="v$((0x$major)).$((0x$minor)).$((0x$bugfix))"
|
||||
if [ "$((0x$rc))" -lt 128 ]; then
|
||||
ver="$ver-rc$((rc))"
|
||||
ver="$ver-rc$((0x$rc))"
|
||||
fi
|
||||
echo "$ver"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user