summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorLucía Andrea Illanes Albornoz <lucia@luciaillanes.de>2023-03-14 07:09:04 +0100
committerLucía Andrea Illanes Albornoz <lucia@luciaillanes.de>2023-03-14 07:09:04 +0100
commit6ea41b32499a3a280fb739d56cf0820d8acd3814 (patch)
treefb4aac52d45f5a7c4ffc0af05e76499e178d4d09
parentdad5498ecc27a796c485ee062ed05e76517f897c (diff)
downloadmidipix_build-6ea41b32499a3a280fb739d56cf0820d8acd3814.tar.bz2
midipix_build-6ea41b32499a3a280fb739d56cf0820d8acd3814.tar.xz
subr.rtl/rtl_list.subr:rtl_lfilter{,2}(): fix bug when ${_rlf2_filter} is empty.
-rw-r--r--subr.rtl/rtl_list.subr2
1 files changed, 1 insertions, 1 deletions
diff --git a/subr.rtl/rtl_list.subr b/subr.rtl/rtl_list.subr
index 0debe62c..793eccac 100644
--- a/subr.rtl/rtl_list.subr
+++ b/subr.rtl/rtl_list.subr
@@ -52,7 +52,7 @@ rtl_lfilter2() {
fi;
if [ "${_rlf2_filter:+1}" != 1 ]; then
- eval ${_rlf2_rlist_new}=;
+ eval ${_rlf2_rlist_new}="\${${_rlf2_rlist}}";
else
eval _rlf2_list='${'"${_rlf2_rlist}"'}';
eval ${_rlf2_rlist_new}=;