rpm snapshot build script: fixed adding svn revision number

git-svn-id: trunk@16524 -
This commit is contained in:
vincents 2008-09-10 11:21:05 +00:00
parent 8e68d6a959
commit ddcac29b92

View File

@ -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