git://git.onelab.eu
/
build.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
getrelease.sh and %distrorelease now only hold the major number as an integer - allow...
[build.git]
/
build.common
diff --git
a/build.common
b/build.common
index
919106b
..
3d22798
100644
(file)
--- a/
build.common
+++ b/
build.common
@@
-34,7
+34,8
@@
function pl_getRelease() {
echo "build.common.pl_getRelease-unknown"
exit 1
fi
- echo "$release"
+ # keep only the major number
+ echo "$release" | cut -d. -f1
return 0
}