public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Joonas Niilola" <juippis@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/js2py/
Date: Wed, 24 Feb 2021 08:31:06 +0000 (UTC)	[thread overview]
Message-ID: <1614155455.966d037229026a0bbf44f1183fe66dde4e647aa6.juippis@gentoo> (raw)

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


             reply	other threads:[~2021-02-24  8:31 UTC|newest]

Thread overview: 29+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-02-24  8:31 Joonas Niilola [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-06-24 23:01 [gentoo-commits] repo/gentoo:master commit in: dev-python/js2py/ Maciej Barć
2023-03-04 16:32 Maciej Barć
2023-01-16  1:57 Maciej Barć
2023-01-06  2:10 Sam James
2023-01-06  0:45 Sam James
2023-01-06  0:45 Sam James
2022-12-04  9:12 Maciej Barć
2022-07-15  7:24 Michał Górny
2022-07-15  0:45 Sam James
2022-07-14 21:22 Arthur Zamarin
2022-07-14 19:07 Arthur Zamarin
2022-06-13 17:06 Maciej Barć
2022-01-17  6:53 Joshua Kinard
2022-01-16 18:30 Arthur Zamarin
2022-01-16 18:30 Arthur Zamarin
2021-11-25  2:03 Maciej Barć
2021-10-17  8:58 Michał Górny
2021-08-09 22:19 Louis Sautier
2021-08-01 23:49 Sam James
2021-07-08  7:11 Sergei Trofimovich
2021-07-06 17:59 Sam James
2021-07-06 17:59 Sam James
2021-06-22  9:02 Joonas Niilola
2021-06-22  9:02 Joonas Niilola
2021-06-12  5:51 Sam James
2021-03-11 17:06 Sam James
2021-03-01  7:05 Joonas Niilola
2021-02-24  8:31 Joonas Niilola

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1614155455.966d037229026a0bbf44f1183fe66dde4e647aa6.juippis@gentoo \
    --to=juippis@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox