mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-11-14 20:39:55 +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
|
exit -1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
cd $(dirname $0)
|
||||||
if [ "$1" = "append-revision" ]; then
|
if [ "$1" = "append-revision" ]; then
|
||||||
LazVersionPostfix=$(./get_svn_revision_number.sh .)
|
LazVersionPostfix=$(./get_svn_revision_number.sh $LazSrcDir)
|
||||||
if [ -n "$LazVersionPostfix" ]; then
|
if [ -n "$LazVersionPostfix" ]; then
|
||||||
LazVersionPostfix=.$LazVersionPostfix
|
LazVersionPostfix=.$LazVersionPostfix
|
||||||
fi
|
fi
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user