summaryrefslogtreecommitdiffstats
path: root/lib/metadata.sh
diff options
context:
space:
mode:
Diffstat (limited to 'lib/metadata.sh')
-rw-r--r--lib/metadata.sh32
1 files changed, 16 insertions, 16 deletions
diff --git a/lib/metadata.sh b/lib/metadata.sh
index e0a1c9a..11b8f8e 100644
--- a/lib/metadata.sh
+++ b/lib/metadata.sh
@@ -192,22 +192,6 @@ _ob_match_arch()
return 0
}
-_ob_match_plat()
-{
- local match_plat="${1}"
- local field_plat="${2}"
- shift 2 || _ob_abort
-
- if [ x"${field_plat}" = x'any' ]; then
- return 0
- fi
- if [ x"${field_plat}" = x"${match_plat}" ]; then
- return 0
- fi
-
- return 1
-}
-
ob_arch_is_concerned()
{
local host_arch="${1}"
@@ -246,6 +230,22 @@ ob_arch_is_concerned()
fi
}
+_ob_match_plat()
+{
+ local match_plat="${1}"
+ local field_plat="${2}"
+ shift 2 || _ob_abort
+
+ if [ x"${field_plat}" = x'any' ]; then
+ return 0
+ fi
+ if [ x"${field_plat}" = x"${match_plat}" ]; then
+ return 0
+ fi
+
+ return 1
+}
+
ob_plat_is_concerned()
{
local host_plat="${1}"