summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorP. J. McDermott <pjm@nac.net>2012-10-08 18:04:47 (EDT)
committer P. J. McDermott <pjm@nac.net>2012-10-08 18:04:47 (EDT)
commit8fe4bffb3301189d5425ee57cd49264a30b55ca3 (patch)
treeef6c4878758ec9f6bef140eb124074316ae6991a /lib
parent6af2858a522282dba80edefb07b584256890aee0 (diff)
Use LIBDIR and DATADIR in ob_get_system_path().
Diffstat (limited to 'lib')
-rw-r--r--lib/metadata/proteanos.sh8
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/metadata/proteanos.sh b/lib/metadata/proteanos.sh
index f155a35..fecd68b 100644
--- a/lib/metadata/proteanos.sh
+++ b/lib/metadata/proteanos.sh
@@ -160,7 +160,7 @@ _ob_get_system_path_proteanos()
'archtab')
# arch
if [ ${#} -eq 1 ]; then
- printf '/usr/share/opkbuild/archtab/%s' "${1}"
+ printf '@@DATADIR@@/opkbuild/archtab/%s' "${1}"
else
_ob_return 125
return ${?}
@@ -169,7 +169,7 @@ _ob_get_system_path_proteanos()
'buildflags')
# arch
if [ ${#} -eq 1 ]; then
- printf '/usr/share/opkbuild/buildflags/%s' "${1}"
+ printf '@@DATADIR@@/opkbuild/buildflags/%s' "${1}"
else
_ob_return 125
return ${?}
@@ -178,7 +178,7 @@ _ob_get_system_path_proteanos()
'platconf')
# source version plat
if [ ${#} -eq 3 ]; then
- printf '/usr/share/platconf/%s/%s' "${3}" "${1}"
+ printf '@@DATADIR@@/platconf/%s/%s' "${3}" "${1}"
else
_ob_return 125
return ${?}
@@ -186,7 +186,7 @@ _ob_get_system_path_proteanos()
;;
'build-helper')
if [ ${#} -eq 0 ]; then
- printf '/usr/share'
+ printf '@@LIBDIR@@'
else
_ob_return 125
return ${?}