diff --git a/tools/install/create_lazarus_rpm.sh b/tools/install/create_lazarus_rpm.sh index 2ee0c890a8..d9066529ab 100755 --- a/tools/install/create_lazarus_rpm.sh +++ b/tools/install/create_lazarus_rpm.sh @@ -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