makepkg: check_pkgrel: Don't say "decimal" in the error message
If you have a malformed pkgrel, the error message says that it must be a "decimal". That isn't quite true, as that would mean that `1.1 == 1.10`. Signed-off-by: Allan McRae <allan@archlinux.org>
This commit is contained in:
parent
f7efa6a93d
commit
aa284c97f1
1 changed files with 1 additions and 1 deletions
|
@ -37,7 +37,7 @@ check_pkgrel() {
|
|||
fi
|
||||
|
||||
if [[ $rel != +([0-9])?(.+([0-9])) ]]; then
|
||||
error "$(gettext "%s must be a decimal, not %s.")" "pkgrel${type:+ in $type}" "$rel"
|
||||
error "$(gettext "%s must be of the form 'integer[.integer]', not %s.")" "pkgrel${type:+ in $type}" "$rel"
|
||||
return 1
|
||||
fi
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue