X-Git-Url: http://git.lttng.org./?a=blobdiff_plain;f=scripts%2Flttng-ivc%2Fbuild.sh;h=c008944bf11a5985fc2d67088d812a1eb6473ca0;hb=3b6ded166d659bde14b384ce4b3981d4378852ef;hp=83cbefc291529db55674aa1ab6ce841308cd723d;hpb=b8a93ea34826f2a42026744ac52d790895c0e580;p=lttng-ci.git diff --git a/scripts/lttng-ivc/build.sh b/scripts/lttng-ivc/build.sh index 83cbefc..c008944 100644 --- a/scripts/lttng-ivc/build.sh +++ b/scripts/lttng-ivc/build.sh @@ -1,4 +1,4 @@ -#!/bin/bash -xu +#!/bin/bash # # Copyright (C) 2017 - Jonathan Rajotte-Julien # @@ -15,6 +15,8 @@ # You should have received a copy of the GNU General Public License # along with this program. If not, see . +set -xu + PYTHON3="python3" P3_VERSION=$($PYTHON3 -c 'import sys;v = sys.version.split()[0].split("."); print("{}.{}".format(v[0], v[1]))')