Skip to content

Commit 86ae593

Browse files
committed
use single quotes for grep command contained in double-quoted string
1 parent f70476b commit 86ae593

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

run_tests.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ source ${base_dir}/init/eessi_defaults
2020
# Make sure we clone the latest version. This assumes versions are of the format "v1.2.3", then picks the latest
2121
# then checks it out
2222
TEST_CLONE="git clone https://github.com/EESSI/test-suite EESSI-test-suite && cd EESSI-test-suite"
23-
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)"
23+
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)"
2424
CHECKOUT_LATEST="git checkout \${VERSION}"
2525

2626
# Git clone has to be run in compat layer, to make the git command available

0 commit comments

Comments
 (0)