Fixes an issue with the install of languages and read-only variable

This commit is contained in:
Trenton H 2022-11-10 17:25:39 -08:00
parent 91dc1f5c08
commit 3d2f249e97

View File

@ -137,8 +137,7 @@ initialize() {
install_languages() {
echo "Installing languages..."
local -r langs="$1"
read -ra langs <<<"$langs"
read -ra langs <<<"$1"
# Check that it is not empty
if [ ${#langs[@]} -eq 0 ]; then