rpm: fixed handling versions with minus

git-svn-id: trunk@42838 -
This commit is contained in:
mattias 2013-09-16 09:18:32 +00:00
parent fdff91aba6
commit 618fb7822e

View File

@ -51,7 +51,7 @@ echo "installed fpc version: $FPCRPMVersion"
FPCSRCRPMVersion=$(echo $FPCRPMVersion | cut -d- -f1)
Date=$Year$Month$Day
LazVersion=$(./get_lazarus_version.sh)
LazVersion=$(./get_lazarus_version.sh | sed -e 's/-/_/g')
LazRelease='0' # $(echo $FPCRPM | sed -e 's/-/_/g')
RPMSrcDir=$(./rpm/get_rpm_source_dir.sh)
Src=lazarus-$LazVersion-$LazRelease.tar.gz