Skip to content

Commit

Permalink
erlang: fix variable substituion
Browse files Browse the repository at this point in the history
Signed-off-by: Shengqi Chen <[email protected]>
  • Loading branch information
Harry-Chen committed Aug 30, 2024
1 parent ec6df4e commit 54f4b75
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions erlang.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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 ===============================

Expand Down

0 comments on commit 54f4b75

Please sign in to comment.