summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorP. J. McDermott <pjm@nac.net>2012-10-04 19:14:37 (EDT)
committer P. J. McDermott <pjm@nac.net>2012-10-04 19:16:31 (EDT)
commit276d68f9e90bf111cf55cf650cb1474547224b09 (patch)
tree4ccd39765beed4238f990e544fc46fb2a3f1e6ab /lib
parent1b7413ee933361b89d7981f76fae33cfdf6664fb (diff)
Implement ob_get_system_path().
Diffstat (limited to 'lib')
-rw-r--r--lib/metadata.sh18
1 files changed, 18 insertions, 0 deletions
diff --git a/lib/metadata.sh b/lib/metadata.sh
index af6957c..c78db91 100644
--- a/lib/metadata.sh
+++ b/lib/metadata.sh
@@ -218,6 +218,24 @@ ob_match_plat()
return ${?}
}
+ob_get_system_path()
+{
+ _ob_local _obgsp_path_id
+
+ if [ ${#} -ge 1 ]; then
+ _obgsp_path_id="${1}"
+ shift 1
+ else
+ _ob_return 125
+ return ${?}
+ fi
+
+ _ob_metadata_do 'get_system_path' "${_obgsp_path_id}" "${@}"
+
+ _ob_return ${?}
+ return ${?}
+}
+
_ob_metadata_do()
{
_ob_local _obmd_func