Fix linting of whitespace in pkgver

In order to detect if pkgver contains whitespace, we need to quote it.
Previously, only the characters up to the first whitespace was checked.

Signed-off-by: Rikard Falkeborn <rikard.falkeborn@gmail.com>
Signed-off-by: Allan McRae <allan@archlinux.org>
This commit is contained in:
Rikard Falkeborn 2018-02-20 21:52:13 +01:00 committed by Allan McRae
parent 55092d0fa7
commit 5c1853124d

View file

@ -47,5 +47,5 @@ lint_pkgver() {
return 0
fi
check_pkgver $pkgver
check_pkgver "$pkgver"
}