tools: fix typo

Follow-up for 6d55e3a364.
This commit is contained in:
Yu Watanabe 2024-02-14 03:58:31 +09:00
parent 5b1aa0e19a
commit dcd484e545

View File

@ -31,6 +31,6 @@ else
[ -z "$c" ] && c="${fallback}"
# Replace any hyphens with carets which are allowed in versions by pacman whereas hyphens are not. Git
# versions with carets will also sort higher than their non-git version counterpart both in pacman
# versioning and in version comparision spec versioning.
# versioning and in version comparison spec versioning.
echo "$c" | sed 's/^v//; s/-/^/g'
fi