summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lib/metadata.sh12
1 files changed, 6 insertions, 6 deletions
diff --git a/lib/metadata.sh b/lib/metadata.sh
index dcae248..9249f87 100644
--- a/lib/metadata.sh
+++ b/lib/metadata.sh
@@ -158,7 +158,7 @@ ob_get_system_plat()
return 0
}
-ob_match_arch()
+_ob_match_arch()
{
local match_arch="${1}"
local arch_field="${2}"
@@ -200,7 +200,7 @@ ob_match_arch()
return 1
}
-ob_match_plat()
+_ob_match_plat()
{
local match_plat="${1}"
local plat_field="${2}"
@@ -241,14 +241,14 @@ ob_arch_is_concerned()
for arch in ${arches}; do
not_arch="${arch#!}"
if [ x"${not_arch}" != x"${arch}" ]; then
- if ob_match_arch "${host_arch}" "${not_arch}"
+ if _ob_match_arch "${host_arch}" "${not_arch}"
then
seen_arch=1
break
else
seen_arch=0
fi
- elif ob_match_arch "${host_arch}" "${arch}"; then
+ elif _ob_match_arch "${host_arch}" "${arch}"; then
seen_arch=0
break
fi
@@ -279,14 +279,14 @@ ob_plat_is_concerned()
for plat in ${plats}; do
not_plat="${plat#!}"
if [ x"${not_plat}" != x"${plat}" ]; then
- if ob_match_plat "${host_plat}" "${not_plat}"
+ if _ob_match_plat "${host_plat}" "${not_plat}"
then
seen_plat=1
break
else
seen_plat=0
fi
- elif ob_match_plat "${host_plat}" "${plat}"; then
+ elif _ob_match_plat "${host_plat}" "${plat}"; then
seen_plat=0
break
fi