diff options
author | P. J. McDermott <pjm@nac.net> | 2012-10-02 01:39:50 (EDT) |
---|---|---|
committer | P. J. McDermott <pjm@nac.net> | 2012-10-02 01:39:50 (EDT) |
commit | 2b1a9d8eb8c21ce2571e311168087f95f7a92f45 (patch) | |
tree | b886ffde89b2104b2f9fb38143fd938de15b8587 | |
parent | 51a47d87ae5b8b219a5c6bd918a602e3ec8ae076 (diff) |
Fix typing mistake in ob_match_arch().
-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 b33fd0e..d749a4d 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 -R "${_obma_a_ere}"; then + if echo "${_obma_arch}" | grep -E "${_obma_a_ere}"; then _ob_return 0 return ${?} fi |