From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: <gentoo-commits+bounces-1254325-garchives=archives.gentoo.org@lists.gentoo.org> Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 891EA13835B for <garchives@archives.gentoo.org>; Wed, 24 Feb 2021 08:31:10 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id B94DDE0858; Wed, 24 Feb 2021 08:31:09 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id A21EDE0858 for <gentoo-commits@lists.gentoo.org>; Wed, 24 Feb 2021 08:31:09 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 45D11335D6A for <gentoo-commits@lists.gentoo.org>; Wed, 24 Feb 2021 08:31:08 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id BA4B24F3 for <gentoo-commits@lists.gentoo.org>; Wed, 24 Feb 2021 08:31:06 +0000 (UTC) From: "Joonas Niilola" <juippis@gentoo.org> To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Joonas Niilola" <juippis@gentoo.org> Message-ID: <1614155455.966d037229026a0bbf44f1183fe66dde4e647aa6.juippis@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/js2py/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/js2py/js2py-0.70_p20210218.ebuild X-VCS-Directories: dev-python/js2py/ X-VCS-Committer: juippis X-VCS-Committer-Name: Joonas Niilola X-VCS-Revision: 966d037229026a0bbf44f1183fe66dde4e647aa6 X-VCS-Branch: master Date: Wed, 24 Feb 2021 08:31:06 +0000 (UTC) Precedence: bulk List-Post: <mailto:gentoo-commits@lists.gentoo.org> List-Help: <mailto:gentoo-commits+help@lists.gentoo.org> List-Unsubscribe: <mailto:gentoo-commits+unsubscribe@lists.gentoo.org> List-Subscribe: <mailto:gentoo-commits+subscribe@lists.gentoo.org> List-Id: Gentoo Linux mail <gentoo-commits.gentoo.org> X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 93f3535a-4931-4ab9-b78e-402aae1b3b25 X-Archives-Hash: 3ef2803872813a64f6987b72a39a081b commit: 966d037229026a0bbf44f1183fe66dde4e647aa6 Author: Joonas Niilola <juippis <AT> gentoo <DOT> org> AuthorDate: Wed Feb 24 08:02:20 2021 +0000 Commit: Joonas Niilola <juippis <AT> gentoo <DOT> org> CommitDate: Wed Feb 24 08:30:55 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=966d0372 dev-python/js2py: open the if statement, use double brackets Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org> dev-python/js2py/js2py-0.70_p20210218.ebuild | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/dev-python/js2py/js2py-0.70_p20210218.ebuild b/dev-python/js2py/js2py-0.70_p20210218.ebuild index 89897bdcda2..998dd3f8363 100644 --- a/dev-python/js2py/js2py-0.70_p20210218.ebuild +++ b/dev-python/js2py/js2py-0.70_p20210218.ebuild @@ -36,9 +36,11 @@ python_test() { pushd ./tests >/dev/null || die # Tests require "node_failed.txt" file where the logs are kept - [ -f ./node_failed.txt ] && rm ./node_failed.txt - touch ./node_failed.txt || die + if [[ -f ./node_failed.txt ]]; then + rm ./node_failed.txt || die + fi + touch ./node_failed.txt || die "${EPYTHON}" ./run.py || die "tests failed with ${EPYTHON}" popd >/dev/null || die