Skip to content

Commit

Permalink
use single quotes for grep command contained in double-quoted string
Browse files Browse the repository at this point in the history
  • Loading branch information
bedroge committed Jan 24, 2025
1 parent f70476b commit 86ae593
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion run_tests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 86ae593

Please sign in to comment.