From e81f674a02400fe5e42edc834a65cdf7815d64a6 Mon Sep 17 00:00:00 2001 From: Alessandro Puccetti Date: Tue, 21 Feb 2017 17:25:39 +0100 Subject: [PATCH] extra/in_parallel.sh: call the right python version We want to use the python installed as dependency to use an updated version of the requests module (>=v2.4.2). This regression is caused by https://github.com/weaveworks/build-tools/pull/73 --- extras/in_parallel.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/extras/in_parallel.sh b/extras/in_parallel.sh index 11a399b99..4f851a94c 100755 --- a/extras/in_parallel.sh +++ b/extras/in_parallel.sh @@ -19,7 +19,7 @@ shift 1 INPUTS="$*" SCHED_NAME=parallel-$CIRCLE_PROJECT_USERNAME-$CIRCLE_PROJECT_REPONAME-$CIRCLE_BUILD_NUM -INPUTS=$(echo "$INPUTS" | "../tools/sched" sched "$SCHED_NAME" "$CIRCLE_NODE_TOTAL" "$CIRCLE_NODE_INDEX") +INPUTS=$(echo "$INPUTS" | python "../tools/sched" sched "$SCHED_NAME" "$CIRCLE_NODE_TOTAL" "$CIRCLE_NODE_INDEX") echo Doing "$INPUTS" @@ -28,5 +28,5 @@ for INPUT in $INPUTS; do "$COMMAND" "$INPUT" RUNTIME=$(($(date +%s) - START)) - "../tools/sched" time "$INPUT" "$RUNTIME" + python "../tools/sched" time "$INPUT" "$RUNTIME" done