From 5c1853124dcaf5d744f90f293801b0ac741674ff Mon Sep 17 00:00:00 2001 From: Rikard Falkeborn Date: Tue, 20 Feb 2018 21:52:13 +0100 Subject: 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 Signed-off-by: Allan McRae --- scripts/libmakepkg/lint_pkgbuild/pkgver.sh.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'scripts/libmakepkg') diff --git a/scripts/libmakepkg/lint_pkgbuild/pkgver.sh.in b/scripts/libmakepkg/lint_pkgbuild/pkgver.sh.in index 0ec6584c..2325b1f5 100644 --- a/scripts/libmakepkg/lint_pkgbuild/pkgver.sh.in +++ b/scripts/libmakepkg/lint_pkgbuild/pkgver.sh.in @@ -47,5 +47,5 @@ lint_pkgver() { return 0 fi - check_pkgver $pkgver + check_pkgver "$pkgver" } -- cgit v1.2.3-24-g4f1b