From 86ae593aa6a93ffae57d7ad13ae8cb4e42f5c1da Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bob=20Dr=C3=B6ge?= Date: Fri, 24 Jan 2025 11:54:12 +0100 Subject: [PATCH] use single quotes for grep command contained in double-quoted string --- run_tests.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/run_tests.sh b/run_tests.sh index a2395eb5f9..f6264c3cc8 100755 --- a/run_tests.sh +++ b/run_tests.sh @@ -20,7 +20,7 @@ source ${base_dir}/init/eessi_defaults # Make sure we clone the latest version. This assumes versions are of the format "v1.2.3", then picks the latest # then checks it out TEST_CLONE="git clone https://github.com/EESSI/test-suite EESSI-test-suite && cd EESSI-test-suite" -LATEST_VERSION="VERSION=\$(git tag | grep "^v[0-9]\+\.[0-9]\+\.[0-9]\+$" | sort -t. -k 1,1n -k 2,2n -k 3,3n | tail -1)" +LATEST_VERSION="VERSION=\$(git tag | grep '^v[0-9]\+\.[0-9]\+\.[0-9]\+$' | sort -t. -k 1,1n -k 2,2n -k 3,3n | tail -1)" CHECKOUT_LATEST="git checkout \${VERSION}" # Git clone has to be run in compat layer, to make the git command available