From f6c595619cbd432211808f9eb414ad053ed3574e Mon Sep 17 00:00:00 2001 From: maxice8 Date: Tue, 29 Jan 2019 23:04:48 -0200 Subject: [PATCH] hooks/pre-pkg/99-pkglint-subpkgs.sh: fix case where grep doesn't match --- common/hooks/pre-pkg/99-pkglint-subpkgs.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/hooks/pre-pkg/99-pkglint-subpkgs.sh b/common/hooks/pre-pkg/99-pkglint-subpkgs.sh index 13edbf0f4d9..9c8b9cb85da 100644 --- a/common/hooks/pre-pkg/99-pkglint-subpkgs.sh +++ b/common/hooks/pre-pkg/99-pkglint-subpkgs.sh @@ -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" || : }