From a850c9bb5c63e757f39c3e2f60f185daa60ea656 Mon Sep 17 00:00:00 2001 From: Ariel Juodziukynas Date: Sun, 11 Jun 2023 12:44:09 -0300 Subject: [PATCH] Push elements into bash array instead of string concat --- scripts/fix-opera.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/fix-opera.sh b/scripts/fix-opera.sh index b3fe8af..e1d3cc9 100755 --- a/scripts/fix-opera.sh +++ b/scripts/fix-opera.sh @@ -33,11 +33,11 @@ readonly WIDEVINE_MANIFEST_NAME='manifest.json' OPERA_VERSIONS=() if [ -x "$(command -v opera)" ]; then - OPERA_VERSIONS+="opera" + OPERA_VERSIONS+=("opera") fi if [ -x "$(command -v opera-beta)" ]; then - OPERA_VERSIONS+="opera-beta" + OPERA_VERSIONS+=("opera-beta") fi for opera in ${OPERA_VERSIONS[@]}; do