Skip to content

Commit 376f397

Browse files
author
Vasileios Karakasis
committed
Improve error message
1 parent 0d1fb3b commit 376f397

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

bootstrap.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,8 +61,8 @@ done
6161
# We need to exit with a zero code if the Python version is the correct
6262
# one, so we invert the comparison
6363

64-
if $python -c 'import sys;sys.exit(sys.version_info[:2] >= (3, 6))'; then
65-
echo -e "ReFrame requires Python >= 3.6"
64+
if $python -c 'import sys; sys.exit(sys.version_info[:2] >= (3, 6))'; then
65+
echo -e "ReFrame requires Python >= 3.6 (found $($python -V 2>&1))"
6666
exit 1
6767
fi
6868

0 commit comments

Comments
 (0)