Version 2.9.15
[lttng-modules.git] / extra-version-name.sh
CommitLineData
31b00794
MJ
1#!/bin/sh
2# SPDX-License-Identifier: (GPL-2.0 OR LGPL-2.1)
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.022144 seconds and 4 git commands to generate.