hooks/pre-pkg/99-pkglint-subpkgs.sh: fix case where grep doesn't match
This commit is contained in:
@@ -40,5 +40,5 @@ hook() {
|
|||||||
done
|
done
|
||||||
|
|
||||||
grep -q "^$pkgname" <<< "$matches" &&
|
grep -q "^$pkgname" <<< "$matches" &&
|
||||||
msg_warn "$pkgname is sourcepkg but is in subpackages=.\n"
|
msg_warn "$pkgname is sourcepkg but is in subpackages=.\n" || :
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user