commit:     140e2d0f701eed29b9f9ef9c42c7f6ad5947422c
Author:     Ionen Wolkens <sudinave <AT> gmail <DOT> com>
AuthorDate: Tue Dec 29 09:53:53 2020 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sun Jan 10 18:34:18 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=140e2d0f

www-apps/gitea: fix build with bash-5.1

Closes: https://bugs.gentoo.org/762391
Package-Manager: Portage-3.0.12, Repoman-3.0.2
Signed-off-by: Ionen Wolkens <sudinave <AT> gmail.com>
Signed-off-by: Sam James <sam <AT> gentoo.org>

 www-apps/gitea/gitea-1.13.0.ebuild | 4 ++--
 www-apps/gitea/gitea-9999.ebuild   | 4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/www-apps/gitea/gitea-1.13.0.ebuild 
b/www-apps/gitea/gitea-1.13.0.ebuild
index 7bb52ed548e..2602c088b24 100644
--- a/www-apps/gitea/gitea-1.13.0.ebuild
+++ b/www-apps/gitea/gitea-1.13.0.ebuild
@@ -84,8 +84,8 @@ src_compile() {
                "-X 
code.gitea.io/gitea/modules/setting.AppWorkPath=${EPREFIX}/var/lib/gitea"
        )
        local makeenv=(
-               TAGS="${gitea_tags[@]}"
-               LDFLAGS="-extldflags \"${LDFLAGS}\" ${gitea_settings[@]}"
+               TAGS="${gitea_tags[*]}"
+               LDFLAGS="-extldflags \"${LDFLAGS}\" ${gitea_settings[*]}"
        )
        [[ ${PV} != 9999* ]] && makeenv+=("DRONE_TAG=${MY_PV}")
 

diff --git a/www-apps/gitea/gitea-9999.ebuild b/www-apps/gitea/gitea-9999.ebuild
index d6f5cfcf5a8..b975338d0ff 100644
--- a/www-apps/gitea/gitea-9999.ebuild
+++ b/www-apps/gitea/gitea-9999.ebuild
@@ -81,8 +81,8 @@ src_compile() {
                "-X 
code.gitea.io/gitea/modules/setting.AppWorkPath=${EPREFIX}/var/lib/gitea"
        )
        local makeenv=(
-               TAGS="${gitea_tags[@]}"
-               LDFLAGS="-extldflags \"${LDFLAGS}\" ${gitea_settings[@]}"
+               TAGS="${gitea_tags[*]}"
+               LDFLAGS="-extldflags \"${LDFLAGS}\" ${gitea_settings[*]}"
        )
        [[ ${PV} != 9999* ]] && makeenv+=("DRONE_TAG=${MY_PV}")
 

Reply via email to