From c8e1337cf6a7615e7a86245b9eb4fe0b0dbc06fd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lucio=20Andr=C3=A9s=20Illanes=20Albornoz=20=28arab=2C=20vx?= =?UTF-8?q?p=29?= Date: Tue, 28 Nov 2017 16:17:55 +0000 Subject: vars/build.vars, etc/build.usage: split build targets. subr/pkg_install.subr, vars/env.vars: removes ${PKG_PREFIX_EXTRA}. etc/config.cache: adds util_linux. --- subr/pkg_install.subr | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) (limited to 'subr') diff --git a/subr/pkg_install.subr b/subr/pkg_install.subr index ca85f4d1..c4a0c03a 100644 --- a/subr/pkg_install.subr +++ b/subr/pkg_install.subr @@ -3,14 +3,9 @@ # pkg_install() { - local _dst_path; - for _dst_path in "${PKG_PREFIX}" "${PKG_PREFIX_EXTRA}"; do - if [ -n "${_dst_path}" ]; then - ex_build_fileop mkdir "${_dst_path}"; - tar -C "${PKG_DESTDIR}" -cpf - . |\ - tar -C "${_dst_path}" -xpf -; - fi; - done; + ex_build_fileop mkdir "${PKG_PREFIX}"; + tar -C "${PKG_DESTDIR}" -cpf - . |\ + tar -C "${PKG_PREFIX}" -xpf -; }; # vim:filetype=sh -- cgit v1.2.3