summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorP. 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)
commit2b1a9d8eb8c21ce2571e311168087f95f7a92f45 (patch)
treeb886ffde89b2104b2f9fb38143fd938de15b8587 /lib
parent51a47d87ae5b8b219a5c6bd918a602e3ec8ae076 (diff)
Fix typing mistake in ob_match_arch().
Diffstat (limited to 'lib')
-rw-r--r--lib/metadata.sh2
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