summaryrefslogtreecommitdiffhomepage
path: root/subr/pkg_install.subr
diff options
context:
space:
mode:
Diffstat (limited to 'subr/pkg_install.subr')
-rw-r--r--subr/pkg_install.subr4
1 files changed, 2 insertions, 2 deletions
diff --git a/subr/pkg_install.subr b/subr/pkg_install.subr
index ee6c783c..a3784992 100644
--- a/subr/pkg_install.subr
+++ b/subr/pkg_install.subr
@@ -23,11 +23,11 @@ pkgp_install_perms() {
};
pkg_install() {
- local _destdir="" _destdir_prefix="" _ifs_old="${IFS:- }" _pkglist_name="" IFS;
+ local _destdir="" _destdir_prefix="" _pkglist_name="";
if ! rtl_fileop mkdir "${PKG_PREFIX}"; then
return 1;
else for _destdir in "${PKG_DESTDIR}:${PKG_PREFIX}" "${PKG_DESTDIR_HOST}:${PREFIX}"; do
- IFS=":"; set -- ${_destdir}; IFS="${_ifs_old}"; _destdir="${1}"; _destdir_prefix="${2}";
+ rtl_lassign "_destdir _destdir_prefix" ":" "${_destdir}";
if [ -e "${_destdir}" ]; then
pkgp_install_perms "${_destdir}";
(set +o errexit -o noglob; rtl_flock_acquire 4 || exit "${?}"; date;