projects
/
lttng-ci.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
jjb: Add support for python3.10 in build scripts
[lttng-ci.git]
/
scripts
/
lttng-ivc
/
build.sh
diff --git
a/scripts/lttng-ivc/build.sh
b/scripts/lttng-ivc/build.sh
index 08f6b9b8817a11d39074ee86091a31e475994f05..83cbefc291529db55674aa1ab6ce841308cd723d 100644
(file)
--- a/
scripts/lttng-ivc/build.sh
+++ b/
scripts/lttng-ivc/build.sh
@@
-16,7
+16,7
@@
# along with this program. If not, see <http://www.gnu.org/licenses/>.
PYTHON3="python3"
# along with this program. If not, see <http://www.gnu.org/licenses/>.
PYTHON3="python3"
-P3_VERSION=$($PYTHON3 -c
"import sys;print(sys.version[:3])"
)
+P3_VERSION=$($PYTHON3 -c
'import sys;v = sys.version.split()[0].split("."); print("{}.{}".format(v[0], v[1]))'
)
# Tox does not support long path venv for whatever reason.
PYENV_HOME=$(mktemp -d)
# Tox does not support long path venv for whatever reason.
PYENV_HOME=$(mktemp -d)
This page took
0.022398 seconds
and
4
git commands to generate.