summaryrefslogtreecommitdiffhomepage
path: root/subr
diff options
context:
space:
mode:
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