From 1cdf7357ffe16eed0455ba724a9780f53f6ec4b8 Mon Sep 17 00:00:00 2001 From: "Mayeul@Zama" <69792125+mayeul-zama@users.noreply.github.com> Date: Fri, 15 Nov 2024 10:16:01 +0100 Subject: [PATCH] chore(ci): fix bash script --- scripts/c_api_tests.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/c_api_tests.sh b/scripts/c_api_tests.sh index 8cab95d729..5bbddf521f 100755 --- a/scripts/c_api_tests.sh +++ b/scripts/c_api_tests.sh @@ -61,7 +61,7 @@ if [[ $(uname) != "Darwin" ]]; then # use all available cores for linking # Otherwise, only use 4, to avoid OOM when linking if [ 100 -lt "$mem_in_gb" ]; then - LINKING_CPU_COUNT="$(CPU_COUNT)" + LINKING_CPU_COUNT="${CPU_COUNT}" fi fi