wrapper: remove perf wrapper
[lttng-modules.git] / scripts / extra-version-name.sh
CommitLineData
101215b7 1#!/bin/sh
b7cdc182 2# SPDX-License-Identifier: (GPL-2.0-only OR LGPL-2.1-only)
101215b7
MJ
3
4# First argument is the path to the lttng modules sources.
5TOP_LTTNG_MODULES_DIR="$1"
6
7EXTRA_VERSION_NAME="$(sed -n '1p' "${TOP_LTTNG_MODULES_DIR}/extra_version/name" 2> /dev/null)"
8
9if [ "x${EXTRA_VERSION_NAME}" != "x" ]; then
10 echo "${EXTRA_VERSION_NAME}"
11else
12 echo "0"
13fi
This page took 0.024903 seconds and 4 git commands to generate.