From 042ccabdc7e05a0e33cafa4233d82764ee88cec9 Mon Sep 17 00:00:00 2001 From: Michael Tremer Date: Fri, 21 Jul 2017 22:14:20 +0200 Subject: [PATCH] list: Make use of the assign function to set variables Signed-off-by: Michael Tremer --- src/functions/functions.list | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/functions/functions.list b/src/functions/functions.list index 13d82ef8..fa604275 100644 --- a/src/functions/functions.list +++ b/src/functions/functions.list @@ -51,9 +51,9 @@ list_append_one() { assert [ ${list} != "list" ] if [ -n "${!list}" ]; then - printf -v ${list} -- "${!list} $@" + assign "${list}" "${!list} $@" else - printf -v ${list} -- "$@" + assign "${list}" "$@" fi } -- 2.47.2