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