mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-11-03 04:50:01 +01:00
rpm snapshot build script: fixed adding svn revision number
git-svn-id: trunk@16524 -
This commit is contained in:
parent
8e68d6a959
commit
ddcac29b92
@ -32,8 +32,9 @@ if [ "x$FpcFullVersion" = "x" ]; then
|
||||
exit -1
|
||||
fi
|
||||
|
||||
cd $(dirname $0)
|
||||
if [ "$1" = "append-revision" ]; then
|
||||
LazVersionPostfix=$(./get_svn_revision_number.sh .)
|
||||
LazVersionPostfix=$(./get_svn_revision_number.sh $LazSrcDir)
|
||||
if [ -n "$LazVersionPostfix" ]; then
|
||||
LazVersionPostfix=.$LazVersionPostfix
|
||||
fi
|
||||
|
||||
Loading…
Reference in New Issue
Block a user