From 54f4b75ebce21447fc7e7cc41a7a49dfcb67b3f2 Mon Sep 17 00:00:00 2001 From: Shengqi Chen Date: Fri, 30 Aug 2024 14:21:30 +0800 Subject: [PATCH] erlang: fix variable substituion Signed-off-by: Shengqi Chen --- erlang.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/erlang.sh b/erlang.sh index 9ad1bdb..b716921 100755 --- a/erlang.sh +++ b/erlang.sh @@ -29,8 +29,8 @@ deb_suffixes=( ) function join_by { local IFS="$1"; shift; echo "$*"; } -ubuntu_codenames=$(join_by ',' $(IFS=','; eval echo {"${ubuntu_os[*]}"}-{"${deb_suffixes[*]}"})) -debian_codenames=$(join_by ',' $(IFS=','; eval echo {"${debian_os[*]}"}-{"${deb_suffixes[*]}"})) +ubuntu_codenames=$(join_by ',' $(IFS=','; eval echo {"${ubuntu_os[*]}",}-{"${deb_suffixes[*],}"})) +debian_codenames=$(join_by ',' $(IFS=','; eval echo {"${debian_os[*]}",}-{"${deb_suffixes[*],}"})) # =================== APT repos ===============================