From 1f775050b1324b843b99afa51a4f4480485875b2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Wolfgang=20Hu=C3=9F?= Date: Tue, 21 Sep 2021 20:07:51 +0200 Subject: [PATCH] Fix CUR_JOB to start with Zero --- cypress/parallel-features.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cypress/parallel-features.sh b/cypress/parallel-features.sh index 10f660605..c7d4d4878 100755 --- a/cypress/parallel-features.sh +++ b/cypress/parallel-features.sh @@ -4,7 +4,7 @@ function join_by { local IFS="$1"; shift; echo "$*"; } # Arguments: -CUR_JOB=$1 +CUR_JOB=$(expr $1 - 1) MAX_JOBS=$2 # Features