Skip to content

Commit 4d4eba1

Browse files
committed
get_version.sh: Remove - characters from release string
Replace - with . in release strings to fix the following build error in the dist Makefile target: error: line 4: Illegal char '-' in: Release: 4-g1d44b2a make: *** [rpms] Error 1 Signed-off-by: Peter Oberparleiter <[email protected]>
1 parent ffbd3e0 commit 4d4eba1

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

bin/get_version.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ else
1919
VERSION=${VERSION:1}
2020
if [ "${GITVER#*-}" != "$GITVER" ] ; then
2121
RELEASE=${GITVER#*-}
22+
RELEASE=${RELEASE/-/.}
2223
fi
2324
fi
2425

0 commit comments

Comments
 (0)