diff options
author | Lucio Andrés Illanes Albornoz <lucio@lucioillanes.de> | 2020-05-15 09:51:13 +0100 |
---|---|---|
committer | Lucio Andrés Illanes Albornoz <lucio@lucioillanes.de> | 2020-05-15 09:51:13 +0100 |
commit | 64c9461a9513839bae0b1e30013febc26fad1cec (patch) | |
tree | 0f8746266f31cb0986035fedcf79d12339febed5 /subr/pkg_install.subr | |
parent | 8a4e16ff3484e7395112e1a8888ee7c8eb176987 (diff) | |
download | midipix_build-64c9461a9513839bae0b1e30013febc26fad1cec.tar.bz2 midipix_build-64c9461a9513839bae0b1e30013febc26fad1cec.tar.xz |
subr/rtl.subr:rtl_set_IFS_nl(): initial implementation.
subr/pkg_install.subr:pkgp_install_perms(): use rtl_set_IFS_nl().
subr/rtl_complex.subr:rtl_filter_vars(): use rtl_set_IFS_nl().
Diffstat (limited to 'subr/pkg_install.subr')
-rw-r--r-- | subr/pkg_install.subr | 6 |
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; |