From 9cc85b87e7b2dfa9b5bff1884fe5e485c8439e5d Mon Sep 17 00:00:00 2001 From: Bertrand Jacquin Date: Tue, 14 May 2019 00:15:43 +0100 Subject: www-servers: fix variable assignment Package-Manager: Portage-2.3.62, Repoman-2.3.11 --- www-servers/httpterm/httpterm-1.7.2.ebuild | 14 ++++++++------ www-servers/httpterm/httpterm-9999.ebuild | 14 ++++++++------ 2 files changed, 16 insertions(+), 12 deletions(-) (limited to 'www-servers') diff --git a/www-servers/httpterm/httpterm-1.7.2.ebuild b/www-servers/httpterm/httpterm-1.7.2.ebuild index 846dca20..ce7988a7 100644 --- a/www-servers/httpterm/httpterm-1.7.2.ebuild +++ b/www-servers/httpterm/httpterm-1.7.2.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2017 Gentoo Foundation +# Copyright 1999-2019 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=6 @@ -17,18 +17,20 @@ DEPEND="" RDEPEND="${DEPEND}" src_compile() { - # This is for recent Linux 2.6 with splice and accept4() - local args="TARGET=linux26s" + local -a args=( + # This is for recent Linux 2.6 with splice and accept4() + "TARGET=linux26s" - # Disable debug - local args="DEBUG=" + # Disable debug + "DEBUG=" + ) emake "${PN}" \ CC="$(tc-getCC)" \ LD="$(tc-getCC)" \ CPU_OPTS="${CFLAGS}" \ LDFLAGS="${LDFLAGS}" \ - ${args} + "${args[@]}" } src_install() { diff --git a/www-servers/httpterm/httpterm-9999.ebuild b/www-servers/httpterm/httpterm-9999.ebuild index 7ebd9828..40bc1792 100644 --- a/www-servers/httpterm/httpterm-9999.ebuild +++ b/www-servers/httpterm/httpterm-9999.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2017 Gentoo Foundation +# Copyright 1999-2019 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=6 @@ -23,18 +23,20 @@ src_prepare() { } src_compile() { - # This is for recent Linux 2.6 with splice and accept4() - local args="TARGET=linux26s" + local -a args=( + # This is for recent Linux 2.6 with splice and accept4() + "TARGET=linux26s" - # Disable debug - local args="DEBUG=" + # Disable debug + "DEBUG=" + ) emake "${PN}" \ CC="$(tc-getCC)" \ LD="$(tc-getCC)" \ CPU_OPTS="${CFLAGS}" \ LDFLAGS="${LDFLAGS}" \ - ${args} + "${args[@]}" } src_install() { -- cgit v1.2.3