From e58399f3488e32457cf0d385d91cfe0d06ad06ee Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lucio=20Andr=C3=A9s=20Illanes=20Albornoz?= Date: Tue, 24 Mar 2020 11:38:46 +0000 Subject: subr/{ex_pkg_env,pkg_install,rtl_list}.subr: reference ${IFS} w/ explicit default value (via midipix.) --- subr/ex_pkg_env.subr | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'subr/ex_pkg_env.subr') diff --git a/subr/ex_pkg_env.subr b/subr/ex_pkg_env.subr index ca701296..8cd58f74 100644 --- a/subr/ex_pkg_env.subr +++ b/subr/ex_pkg_env.subr @@ -73,7 +73,7 @@ exp_pkg_env_set() { "$(rtl_toupper "PKG_${_pkg_name}")")"; fi; done; - IFS0="${IFS}"; IFS=":"; for _vname in ${PKG_ENV_VARS_EXTRA:-}; do + IFS0="${IFS:- }"; IFS=":"; for _vname in ${PKG_ENV_VARS_EXTRA:-}; do export "${_vname}"; done; IFS="${IFS0}"; if [ "${_nounset:-0}" -eq 0 ]; then -- cgit v1.2.3