summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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 ${?}