Fix: scsi: sd: Atomic write support added in 6.11-rc1
[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)
61baff6e 3# SPDX-FileCopyrightText: 2018 EfficiOS Inc.
101215b7
MJ
4
5# First argument is the path to the lttng modules sources.
6TOP_LTTNG_MODULES_DIR="$1"
7
8EXTRA_VERSION_NAME="$(sed -n '1p' "${TOP_LTTNG_MODULES_DIR}/extra_version/name" 2> /dev/null)"
9
10if [ "x${EXTRA_VERSION_NAME}" != "x" ]; then
11 echo "${EXTRA_VERSION_NAME}"
12else
13 echo "0"
14fi
This page took 0.044445 seconds and 4 git commands to generate.