diff options
author | Eli Schwartz <eschwartz@archlinux.org> | 2018-06-01 02:31:23 +0200 |
---|---|---|
committer | Allan McRae <allan@archlinux.org> | 2018-06-18 05:15:51 +0200 |
commit | de8c5e78bbaec3aea16523d1a7c5cc6801154c80 (patch) | |
tree | e6e9491d7927160eae777f9d11334cb3d1d4f5ca /lib/libalpm/be_sync.c | |
parent | 737596f038590878d9ac73e6e8de01ad22b2b340 (diff) | |
download | pacman-de8c5e78bbaec3aea16523d1a7c5cc6801154c80.tar.gz pacman-de8c5e78bbaec3aea16523d1a7c5cc6801154c80.tar.xz |
libmakepkg/lint_pkgbuild: squelch syntax error when a pkgname is empty
We fail with an error, but then we also fail with:
==> ERROR: depends is not allowed to be empty.
/usr/share/makepkg/lint_pkgbuild/pkgname.sh: line 39: continue: only meaningful in a `for', `while', or `until' loop
During the refactor to provide enhanced pkgname=pkgver linting, this was
moved out of the ${pkgname[@]} loop to a distinct function, at which
time it should have been modified to return rather than continue.
Signed-off-by: Eli Schwartz <eschwartz@archlinux.org>
Signed-off-by: Allan McRae <allan@archlinux.org>
Diffstat (limited to 'lib/libalpm/be_sync.c')
0 files changed, 0 insertions, 0 deletions