Skip to content

Commit ab878f8

Browse files
committed
Update make-rpm-server to remove - characters.
This should prevent errors such as: Illegal char '-' (0x2d) in: Version: 2024.07.1-rc1.3ddd205
1 parent 3ddd205 commit ab878f8

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

pkg-scripts/make-rpm-server

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,8 @@ fi
1313
# The regex below extracts the path from the VCPKG_INSTALL_ROOT variable. Said variable gets populated during the CMake step.
1414
VCPKG_INSTALL_ROOT=`grep VCPKG_INSTALL_ROOT $OVERTE/build/vcpkg.cmake | perl -ne 'm/set\(VCPKG_INSTALL_ROOT\s+\"(.*?)\"/; print $1'`
1515

16-
VERSION=${RPMVERSION}
16+
# Remove minus character from version numbers, because rpmtool doesn't allow them.
17+
VERSION=${RPMVERSION//-}
1718

1819
if [ "$OVERTE_USE_SYSTEM_QT" = "" ]; then
1920
SOFILES=`ls \

0 commit comments

Comments
 (0)