summaryrefslogtreecommitdiffstats
path: root/lib/metadata
diff options
context:
space:
mode:
authorP. J. McDermott <pjm@nac.net>2012-10-20 17:02:16 (EDT)
committer P. J. McDermott <pjm@nac.net>2012-10-20 17:02:16 (EDT)
commitc2329a5e29e3d588e863ef40a7038e5fe3277c29 (patch)
tree061cf4c0db26b00812c0d575e70f79d7b1018a61 /lib/metadata
parent1a52b320444397bfa464184d1779524456925340 (diff)
Return 2 platconf dirs from ob_get_system_path().
Diffstat (limited to 'lib/metadata')
-rw-r--r--lib/metadata/proteanos.sh7
1 files changed, 5 insertions, 2 deletions
diff --git a/lib/metadata/proteanos.sh b/lib/metadata/proteanos.sh
index 6235ea3..6b5c2a5 100644
--- a/lib/metadata/proteanos.sh
+++ b/lib/metadata/proteanos.sh
@@ -133,7 +133,7 @@ _ob_get_system_plat_proteanos()
_ob_get_system_path_proteanos()
{
- _ob_local _obgsppro_path_id
+ _ob_local _obgsppro_path_id _obgsppro_pkgver
_obgsppro_path_id="${1}"
shift 1
@@ -178,7 +178,10 @@ _ob_get_system_path_proteanos()
'platconf')
# source version plat
if [ ${#} -eq 3 ]; then
- printf '@@DATADIR@@/platconf/%s/%s' "${3}" "${1}"
+ ob_parse_version -u '_obgsppro_pkgver' "${2}"
+ printf '@@DATADIR@@/platconf/%s/%s\n' "${3}" "${1}"
+ printf '@@DATADIR@@/platconf/%s/%s_%s\n' "${3}" "${1}" \
+ "${_obgsppro_pkgver}"
else
_ob_return 125
return ${?}