aboutsummaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorGerd Hoffmann <kraxel@redhat.com>2018-03-23 11:32:11 +0100
committerGerd Hoffmann <kraxel@redhat.com>2018-03-23 11:32:11 +0100
commitaa3233274953cbff7058a3c4073b23c4242fd710 (patch)
tree9c4ef48da472b59bac2cd2c5b86f1e51f6c7a0ee /scripts
parentc19aed80febfb556324360e32e480482dcea16c8 (diff)
downloadjenkinsfiles-aa3233274953cbff7058a3c4073b23c4242fd710.tar.gz
fix candidate build
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/prepare-kernel.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/prepare-kernel.sh b/scripts/prepare-kernel.sh
index 87a271e..5773197 100755
--- a/scripts/prepare-kernel.sh
+++ b/scripts/prepare-kernel.sh
@@ -9,7 +9,7 @@ case $version in
4.9.*) variant="lts409";;
4.14.*) variant="lts414";;
*-rc*) variant="candidate"
- rpmvers="${version%-*}"
+ rpmvers="${version%-*}.0"
release="0.${version#*-}.${release}"
;;
*) variant="mainline";;