From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 6B069158094 for ; Tue, 5 Jul 2022 20:09:11 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id ADDE1E0F6E; Tue, 5 Jul 2022 20:09:09 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 90169E0F6E for ; Tue, 5 Jul 2022 20:09:09 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 7FF1534122F for ; Tue, 5 Jul 2022 20:09:08 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 9D408525 for ; Tue, 5 Jul 2022 20:09:06 +0000 (UTC) From: "Anna Vyalkova" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Anna Vyalkova" Message-ID: <1657051340.e37134486b981ff92ac029b08eb5f0284ce8f8ef.cybertailor@gentoo> Subject: [gentoo-commits] repo/proj/guru:dev commit in: eclass/ X-VCS-Repository: repo/proj/guru X-VCS-Files: eclass/nim-utils.eclass X-VCS-Directories: eclass/ X-VCS-Committer: cybertailor X-VCS-Committer-Name: Anna Vyalkova X-VCS-Revision: e37134486b981ff92ac029b08eb5f0284ce8f8ef X-VCS-Branch: dev Date: Tue, 5 Jul 2022 20:09:06 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 881aeba0-9fab-4120-8655-337062526a94 X-Archives-Hash: 907fab0117ee65230d0fcc95990fd9f9 commit: e37134486b981ff92ac029b08eb5f0284ce8f8ef Author: Anna (cybertailor) Vyalkova sysrq in> AuthorDate: Mon Jul 4 02:53:43 2022 +0000 Commit: Anna Vyalkova sysrq in> CommitDate: Tue Jul 5 20:02:20 2022 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=e3713448 nim-utils.eclass: create testament skipfile once Signed-off-by: Anna (cybertailor) Vyalkova sysrq.in> eclass/nim-utils.eclass | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/eclass/nim-utils.eclass b/eclass/nim-utils.eclass index 12b077452..eb03c0fc5 100644 --- a/eclass/nim-utils.eclass +++ b/eclass/nim-utils.eclass @@ -73,9 +73,11 @@ etestament() { if [[ ${ETESTAMENT_DESELECT} ]]; then local skipfile="${T}"/testament.skipfile - for t in "${ETESTAMENT_DESELECT[@]}"; do - echo "${t}" >> "${skipfile}" - done + if [[ ! -f ${skipfile} ]]; then + for t in "${ETESTAMENT_DESELECT[@]}"; do + echo "${t}" >> "${skipfile}" + done + fi testament_args+=( --skipFrom:"${skipfile}" ) fi