From a08b91c39bd84c6b76c27d2de47e8db47bc257d5 Mon Sep 17 00:00:00 2001 From: Lucio Sauer Date: Thu, 18 Jul 2024 16:29:58 +0200 Subject: [PATCH] dev-db/sqlcmd: make DOCS local to avoid variable pollution Signed-off-by: Lucio Sauer --- dev-db/sqlcmd/sqlcmd-1.7.0.ebuild | 11 +++++------ dev-db/sqlcmd/sqlcmd-1.8.0.ebuild | 11 ++++++----- 2 files changed, 11 insertions(+), 11 deletions(-) diff --git a/dev-db/sqlcmd/sqlcmd-1.7.0.ebuild b/dev-db/sqlcmd/sqlcmd-1.7.0.ebuild index e4c60d4450..ddc5c2180b 100644 --- a/dev-db/sqlcmd/sqlcmd-1.7.0.ebuild +++ b/dev-db/sqlcmd/sqlcmd-1.7.0.ebuild @@ -1,4 +1,4 @@ -# Copyright 2023 Gentoo Authors +# Copyright 2023-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -19,11 +19,6 @@ LICENSE="MIT" SLOT="0" KEYWORDS="~amd64" -DOCS=( - "README.md" - "SECURITY.md" -) - src_compile() { ego build -o "${PN}" -ldflags="-X main.version=${PV}" ./cmd/modern } @@ -39,5 +34,9 @@ src_install() { dofishcomp "completions/${PN}.fish" dozshcomp "completions/_${PN}" + local DOCS=( + "README.md" + "SECURITY.md" + ) einstalldocs } diff --git a/dev-db/sqlcmd/sqlcmd-1.8.0.ebuild b/dev-db/sqlcmd/sqlcmd-1.8.0.ebuild index d6c9071a8e..af122c8444 100644 --- a/dev-db/sqlcmd/sqlcmd-1.8.0.ebuild +++ b/dev-db/sqlcmd/sqlcmd-1.8.0.ebuild @@ -1,4 +1,4 @@ -# Copyright 2023 Gentoo Authors +# Copyright 2023-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -34,9 +34,10 @@ src_install() { dofishcomp "completions/${PN}.fish" dozshcomp "completions/_${PN}" -DOCS=( - "README.md" - "SECURITY.md" -) + local DOCS=( + "README.md" + "SECURITY.md" + ) + einstalldocs }