From 1f4d252be0f284d3fcbe38cbafe1ca9310cdc417 Mon Sep 17 00:00:00 2001 From: Theofilos Manitaras Date: Mon, 26 Nov 2018 16:57:26 +0100 Subject: [PATCH] Use integer comparison for ReFrame versions --- ci-scripts/deploy.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ci-scripts/deploy.sh b/ci-scripts/deploy.sh index 113055a51f..c095d83968 100755 --- a/ci-scripts/deploy.sh +++ b/ci-scripts/deploy.sh @@ -39,7 +39,7 @@ cd $tmpdir git clone https://github.com/eth-cscs/reframe.git cd reframe found_version=$(./reframe.py -V) -if [ $found_version -ne $version ]; then +if [ $found_version != $version ]; then echo "$0: version mismatch: found $found_version, but required $version" >&2 exit 1 fi