diff options
-rw-r--r-- | lib/metadata.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/metadata.sh b/lib/metadata.sh index d749a4d..af6957c 100644 --- a/lib/metadata.sh +++ b/lib/metadata.sh @@ -175,7 +175,7 @@ ob_match_arch() sed 's/^any-/[^-]+-/;s/-any-/-[^-]+-/g;s/-any$/-[^-]+/g')" # "foo-bar-baz" == "foo-any-any" - if echo "${_obma_arch}" | grep -E "${_obma_a_ere}"; then + if echo "${_obma_arch}" | grep -E "${_obma_a_ere}" >/dev/null 2>&1; then _ob_return 0 return ${?} fi |