diff options
author | P. J. McDermott <pjm@nac.net> | 2012-10-02 03:57:38 (EDT) |
---|---|---|
committer | P. J. McDermott <pjm@nac.net> | 2012-10-02 03:57:38 (EDT) |
commit | dbc89e69af1b293b02939e35ba8a2c574bf6b2af (patch) | |
tree | 541b4c1d2e77d2f96230605b1949edd5d5a312a2 /lib | |
parent | 44025437f45b1def2c0c65366b61691469f00dff (diff) |
Suppress command output in ob_match_arch().
Diffstat (limited to 'lib')
-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 |