hooks/pre-pkg/99-pkglint-subpkgs.sh: fix case where grep doesn't match
This commit is contained in:
parent
5569133014
commit
f6c595619c
1 changed files with 1 additions and 1 deletions
|
@ -40,5 +40,5 @@ hook() {
|
|||
done
|
||||
|
||||
grep -q "^$pkgname" <<< "$matches" &&
|
||||
msg_warn "$pkgname is sourcepkg but is in subpackages=.\n"
|
||||
msg_warn "$pkgname is sourcepkg but is in subpackages=.\n" || :
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue