From 2b1a9d8eb8c21ce2571e311168087f95f7a92f45 Mon Sep 17 00:00:00 2001 From: P. J. McDermott Date: Tue, 02 Oct 2012 01:39:50 -0400 Subject: Fix typing mistake in ob_match_arch(). --- (limited to 'lib') 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 -- cgit v0.9.1