mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-06-05 21:03:40 +00:00
genericUpdater: silence grep in version_is_ignored
version_is_ignored must not emit matching versions on stdout, as that violates the commit protocol.
This commit is contained in:
@@ -54,7 +54,7 @@ let
|
||||
|
||||
function version_is_ignored() {
|
||||
local tag="$1"
|
||||
[ -n "$ignored_versions" ] && ${grep} -E -e "$ignored_versions" <<< "$tag"
|
||||
[ -n "$ignored_versions" ] && ${grep} -q -E -e "$ignored_versions" <<< "$tag"
|
||||
}
|
||||
|
||||
function version_is_unstable() {
|
||||
|
||||
Reference in New Issue
Block a user