mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-05 20:38:08 +02:00
deb: fixed export tgz, fixed RC version number turning RC into .0
This commit is contained in:
parent
ac12e6b763
commit
1002929c77
@ -112,7 +112,7 @@ fi
|
||||
FPCVersion=$($ppcbin -v | grep version| sed 's/.*\([0-9]\+\.[0-9]\+\.[0-9]\+\).*/\1/')
|
||||
|
||||
# get Lazarus version
|
||||
LazVersion=$(./get_lazarus_version.sh)
|
||||
LazVersion=$(./get_lazarus_version.sh | sed -e 's/RC[0-9]/.0/')
|
||||
# get consistent major.minor.release version, to avoid dpkg install an older version
|
||||
if [ $(echo $LazVersion | egrep '^[^.]*\.[^.]*$') ]; then
|
||||
LazVersion=${LazVersion}.0
|
||||
@ -159,6 +159,7 @@ cd -
|
||||
if [ "$UseCHMHelp" = "1" ]; then
|
||||
echo
|
||||
echo "Copying chm files"
|
||||
mkdir -p $LazDestDir/docs/chm
|
||||
cd $LazSrcDir/docs/chm
|
||||
cp -v *.kwd *.chm $LazDestDir/docs/chm/
|
||||
cd -
|
||||
|
@ -81,7 +81,6 @@ else
|
||||
LazSrcDir=$(pwd | sed -e 's#/tools/install.*$##')
|
||||
# old-svn: Revision=$(svnversion $LazSrcDir) - comment this out as svn no longer works
|
||||
Revision=$(git -C $LazSrcDir describe --always --first-parent)
|
||||
cd $TmpDir
|
||||
# old-svn: cp -a $LazSrcDir $TmpLazDir
|
||||
mkdir $TmpLazDir
|
||||
cd $TmpLazDir
|
||||
|
Loading…
Reference in New Issue
Block a user