mirror of
https://gitlab.com/shorewall/code.git
synced 2024-12-25 15:48:56 +01:00
Fix setversion for 4.4 dot releases
This commit is contained in:
parent
4917ddee38
commit
f88de91dd9
@ -30,11 +30,15 @@ VERSION=$1
|
||||
SUFFIX=
|
||||
|
||||
case $VERSION in
|
||||
*.*.*.*)
|
||||
4.[02].*.*)
|
||||
RPMVERSION=${VERSION%.*}
|
||||
RELEASE=${VERSION##*.}
|
||||
SUFFIX="-$RELEASE"
|
||||
;;
|
||||
4.*.*.*)
|
||||
RPMVERSION=${VERSION%.*}
|
||||
RELEASE=${VERSION##*.}
|
||||
;;
|
||||
*-*)
|
||||
RPMVERSION=${VERSION%-*}
|
||||
RELEASE=0${VERSION##*-}
|
||||
|
Loading…
Reference in New Issue
Block a user