From 8fe4bffb3301189d5425ee57cd49264a30b55ca3 Mon Sep 17 00:00:00 2001 From: P. J. McDermott Date: Mon, 08 Oct 2012 18:04:47 -0400 Subject: Use LIBDIR and DATADIR in ob_get_system_path(). --- 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 ${?} -- cgit v0.9.1