From f88de91dd9ea2bcd84ecea7183788dff1be0a62a Mon Sep 17 00:00:00 2001 From: Tom Eastep Date: Thu, 13 Aug 2009 12:46:34 -0700 Subject: [PATCH] Fix setversion for 4.4 dot releases --- tools/build/setversion | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/tools/build/setversion b/tools/build/setversion index f41c53031..097d74043 100755 --- a/tools/build/setversion +++ b/tools/build/setversion @@ -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##*-}