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.subr6
1 files changed, 3 insertions, 3 deletions
diff --git a/subr/pkg_install.subr b/subr/pkg_install.subr
index f869ec5b..ee6c783c 100644
--- a/subr/pkg_install.subr
+++ b/subr/pkg_install.subr
@@ -3,9 +3,9 @@
#
pkgp_install_perms() {
- local _destdir="${1}" _fname="" _ifs_old="${IFS:- }" IFS;
- IFS="
-"; for _fname in $(find "${_destdir}" -type d); do
+ local _destdir="${1}" _fname="" IFS;
+ rtl_set_IFS_nl;
+ for _fname in $(find "${_destdir}" -type d); do
if ! rtl_fileop chmod 0755 "${_fname}"; then
return 1;
fi;