From 381e18bf5535b98b583782c38ef1b8d46c647343 Mon Sep 17 00:00:00 2001 From: Lars Wirzenius Date: Sun, 16 Apr 2017 12:46:36 +0300 Subject: Fix check for whehter we use Python as shell --- fail-tests/fail.stdout-diff | 4 ++-- yarn | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/fail-tests/fail.stdout-diff b/fail-tests/fail.stdout-diff index 535b0c5..1099531 100644 --- a/fail-tests/fail.stdout-diff +++ b/fail-tests/fail.stdout-diff @@ -1,4 +1,4 @@ ---- /dev/null 2017-04-10 10:01:11.280543905 +0300 -+++ fail-tests/fail.stdout-actual 2017-04-11 15:19:57.183651499 +0300 +--- /dev/null 2017-04-11 20:10:53.869368051 +0300 ++++ fail-tests/fail.stdout-actual 2017-04-16 12:46:26.095515187 +0300 @@ -0,0 +1 @@ +this is not empty output to make test fail diff --git a/yarn b/yarn index 3d4865e..d67c115 100755 --- a/yarn +++ b/yarn @@ -515,7 +515,7 @@ class YarnRunner(cliapp.Application): # used. This is a bit of magic that hopefully won't surprise # users too much. - if self.settings['shell'] == 'python': + if 'python' in self.settings['shell']: pythonpath = env.get('PYTHONPATH', None) if pythonpath: pythonpath += ':' + srcdir -- cgit v1.2.1