summaryrefslogtreecommitdiffhomepage
path: root/subr
diff options
context:
space:
mode:
authorLucio Andrés Illanes Albornoz (arab, vxp) <lucio@lucioillanes.de>2017-11-28 16:17:55 +0000
committerLucio Andrés Illanes Albornoz (arab, vxp) <lucio@lucioillanes.de>2017-11-28 20:25:28 +0000
commitc8e1337cf6a7615e7a86245b9eb4fe0b0dbc06fd (patch)
tree4302bfc369d5774881b3d44fe955debe76d2ffc9 /subr
parent40d44afd4406895c2f3dc425f57c34a80759e70e (diff)
downloadmidipix_build-c8e1337cf6a7615e7a86245b9eb4fe0b0dbc06fd.tar.bz2
midipix_build-c8e1337cf6a7615e7a86245b9eb4fe0b0dbc06fd.tar.xz
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.
Diffstat (limited to 'subr')
-rw-r--r--subr/pkg_install.subr11
1 files changed, 3 insertions, 8 deletions
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