X-Git-Url: https://git.lttng.org/?a=blobdiff_plain;f=scripts%2Fabi-sle-version.sh;h=e079e0657e812c45980e801cdd9dc16702bced3f;hb=684a1e4d7e9a4cf1070e5202e419e1b9f6e9853c;hp=aafed7c14c315fd31b028412fa4c11a766dbc931;hpb=8fca602a71eb37b43aabbb88c47a577272ed75b0;p=lttng-modules.git diff --git a/scripts/abi-sle-version.sh b/scripts/abi-sle-version.sh index aafed7c1..e079e065 100755 --- a/scripts/abi-sle-version.sh +++ b/scripts/abi-sle-version.sh @@ -1,5 +1,5 @@ #!/bin/sh -# SPDX-License-Identifier: (GPL-2.0 OR LGPL-2.1) +# SPDX-License-Identifier: (GPL-2.0-only OR LGPL-2.1-only) # First argument is the path to the kernel headers. KPATH=$1 @@ -38,6 +38,6 @@ if [ "x$SLE_RELEASE_PATCH" = "x" ]; then fi # Combine all update numbers into one -SLE_API_VERSION="$((SLE_RELEASE_MAJOR * 10000 + SLE_RELEASE_MINOR * 100 + SLE_RELEASE_PATCH))" +SLE_API_VERSION="$((SLE_RELEASE_MAJOR * 100000 + SLE_RELEASE_MINOR * 100 + SLE_RELEASE_PATCH))" echo ${SLE_API_VERSION}