From 2707f6f9c817b5dc842bfb3e5b1667a63b6081bc Mon Sep 17 00:00:00 2001 From: Charles de Beauchesne Date: Wed, 20 Nov 2024 18:19:31 +0100 Subject: [PATCH 1/2] Fix run.sh on groups --- run.sh | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/run.sh b/run.sh index a9b62e4137..17abac5e6f 100755 --- a/run.sh +++ b/run.sh @@ -119,9 +119,7 @@ function lookup_scenario_group() { python+=(utils/scripts/get-scenarios-from-group.py) - echo "${python[*]}" 1>&2 - - cat < scenario_groups.yml | "${python[@]}" "${group}" + PYTHONPATH=. ${python[@]} ${group} } function upcase() { From 82e44fa221ac0a2bb31e8b0da1f069ebece333f8 Mon Sep 17 00:00:00 2001 From: Charles de Beauchesne Date: Wed, 20 Nov 2024 18:27:03 +0100 Subject: [PATCH 2/2] shellcheck --- run.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/run.sh b/run.sh index 17abac5e6f..7a30efc1a0 100755 --- a/run.sh +++ b/run.sh @@ -119,7 +119,7 @@ function lookup_scenario_group() { python+=(utils/scripts/get-scenarios-from-group.py) - PYTHONPATH=. ${python[@]} ${group} + PYTHONPATH=. "${python[@]}" "${group}" } function upcase() {