X-Git-Url: http://git.lttng.org./?a=blobdiff_plain;f=scripts%2Fbarectf%2Fbuild.sh;h=f78f163d97423a1b20fd9831888320f6a2f61812;hb=9246f142afaceec835664f0d5b1c78cb5cf0f92b;hp=39e05592ce86d23a85eb645423cfd2c0f7ae2b39;hpb=ae3f7160d4ba37cf67d597a3d935aea55f553c17;p=lttng-ci.git diff --git a/scripts/barectf/build.sh b/scripts/barectf/build.sh index 39e0559..f78f163 100755 --- a/scripts/barectf/build.sh +++ b/scripts/barectf/build.sh @@ -1,19 +1,9 @@ -#!/bin/sh -exu +#!/bin/sh # -# Copyright (C) 2015-2020 Michael Jeanson -# -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . +# SPDX-FileCopyrightText: 2015-2023 Michael Jeanson +# SPDX-License-Identifier: GPL-2.0-or-later + +set -exu SRCDIR="src/barectf" @@ -29,11 +19,11 @@ fi virtualenv -p $PYTHON3 "$PYENV_HOME" set +u -# shellcheck disable=SC1090 +# shellcheck disable=SC1090,SC1091 . "$PYENV_HOME/bin/activate" set -u -pip install --quiet tox poetry +pip install --quiet poetry tox cd "$SRCDIR"