projects
/
lttng-modules.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix: Handle recent SLE major version codes
[lttng-modules.git]
/
scripts
/
abi-sle-version.sh
diff --git
a/scripts/abi-sle-version.sh
b/scripts/abi-sle-version.sh
index 5be62f219ec344008f56cff2c17c71da0ff99fa4..1f6e2f9e68a2dd3f948f228a46f32a3da04bc877 100755
(executable)
--- a/
scripts/abi-sle-version.sh
+++ b/
scripts/abi-sle-version.sh
@@
-37,7
+37,4
@@
if [ "x$SLE_RELEASE_PATCH" = "x" ]; then
SLE_RELEASE_PATCH=0
fi
SLE_RELEASE_PATCH=0
fi
-# Combine all update numbers into one
-SLE_API_VERSION="$((SLE_RELEASE_MAJOR * 100000 + SLE_RELEASE_MINOR * 100 + SLE_RELEASE_PATCH))"
-
-echo ${SLE_API_VERSION}
+echo "${SLE_RELEASE_MAJOR} ${SLE_RELEASE_MINOR} ${SLE_RELEASE_PATCH}"
This page took
0.024733 seconds
and
4
git commands to generate.