diff options
author | Rikard Falkeborn <rikard.falkeborn@gmail.com> | 2018-02-20 21:52:13 +0100 |
---|---|---|
committer | Allan McRae <allan@archlinux.org> | 2018-03-14 12:45:13 +1000 |
commit | 5c1853124dcaf5d744f90f293801b0ac741674ff (patch) | |
tree | cea5275e7afd9a848035945d918fc3db00b1fb77 /scripts | |
parent | 55092d0fa79fc4f720bb697c3538a8fe23962f2d (diff) | |
download | pacman-5c1853124dcaf5d744f90f293801b0ac741674ff.tar.xz |
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>
Diffstat (limited to 'scripts')
-rw-r--r-- | scripts/libmakepkg/lint_pkgbuild/pkgver.sh.in | 2 |
1 files changed, 1 insertions, 1 deletions
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" } |