Skip to content

Commit 28602f7

Browse files
author
Theofilos Manitaras
committed
Revert removal of pyver line
1 parent 583c0a8 commit 28602f7

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

bootstrap.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,7 @@ while [ -n "$1" ]; do
5757
esac
5858
done
5959

60+
pyver=$($python -V | sed -n 's/Python \([0-9]\+\)\.\([0-9]\+\)\..*/\1.\2/p')
6061

6162
# We need to exit with a zero code if the Python version is the correct
6263
# one, so we invert the comparison

0 commit comments

Comments
 (0)