diff options
author | Patrick McDermott <patrick.mcdermott@libiquity.com> | 2018-12-22 00:32:04 (EST) |
---|---|---|
committer | Patrick McDermott <patrick.mcdermott@libiquity.com> | 2018-12-22 00:32:04 (EST) |
commit | 510d76b6c87c4779a60519a94a5b0938809c1cb7 (patch) | |
tree | 05a6e66d96604cbed222beac0b058f004dfd5719 /lib/metadata | |
parent | 4ff14be6da04e6a5c9e09dc74d2def000837356d (diff) |
libopkbuild: Use shpp
Diffstat (limited to 'lib/metadata')
-rw-r--r-- | lib/metadata/proteanos.sh | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/lib/metadata/proteanos.sh b/lib/metadata/proteanos.sh index 82713f1..bb07b6b 100644 --- a/lib/metadata/proteanos.sh +++ b/lib/metadata/proteanos.sh @@ -104,14 +104,14 @@ _ob_get_distrev_proteanos() _ob_get_system_arch_proteanos() { - cat '@@SYSCONFDIR@@/proteanos_arch' + cat "${SYSCONFDIR}/proteanos_arch" return 0 } _ob_get_system_plat_proteanos() { - cat '@@SYSCONFDIR@@/proteanos_plat' + cat "${SYSCONFDIR}/proteanos_plat" return 0 } @@ -144,7 +144,7 @@ _ob_get_system_path_proteanos() 'buildflags') # arch if [ ${#} -eq 1 ]; then - printf '@@DATADIR@@/opkbuild/buildflags/%s' "${1}" + printf "${DATADIR}/opkbuild/buildflags/%s" "${1}" else return 125 fi @@ -153,8 +153,8 @@ _ob_get_system_path_proteanos() # source version plat if [ ${#} -eq 3 ]; then ob_parse_version -u 'pkgver' "${2}" - printf '@@DATADIR@@/platconf/%s/%s\n' "${3}" "${1}" - printf '@@DATADIR@@/platconf/%s/%s_%s\n' "${3}" "${1}" \ + printf "${DATADIR}/platconf/%s/%s\n" "${3}" "${1}" + printf "${DATADIR}/platconf/%s/%s_%s\n" "${3}" "${1}" \ "${pkgver}" else return 125 |