From 276d68f9e90bf111cf55cf650cb1474547224b09 Mon Sep 17 00:00:00 2001 From: P. J. McDermott Date: Thu, 04 Oct 2012 19:14:37 -0400 Subject: Implement ob_get_system_path(). --- 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 -- cgit v0.9.1