From c2329a5e29e3d588e863ef40a7038e5fe3277c29 Mon Sep 17 00:00:00 2001 From: P. J. McDermott Date: Sat, 20 Oct 2012 17:02:16 -0400 Subject: Return 2 platconf dirs from ob_get_system_path(). --- 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 ${?} -- cgit v0.9.1