Skip to content
Snippets Groups Projects
Commit 3b3054ee authored by Ilia Slepnev's avatar Ilia Slepnev
Browse files

fix issue # 466

git-svn-id: https://afi-svn.jinr.ru/svn/soft/tqdc2@22631 9acf2f9f-0a22-0410-bc92-97cc8d0d7d74
parent 279ada49
No related branches found
No related tags found
No related merge requests found
COPYING 0 → 100644
This diff is collapsed.
README 0 → 100644
#!/bin/sh
if [ -z "$svn_rev" ]; then
[ -n "$1" ] && DIR="$1" || DIR='.'
svn_rev=$(svnversion -n -c "$DIR"|sed -e 's/.*://')
svn_rev=`svn st -v | sed -Ee 's/^[^0-9]*[0-9]+[ ]+//; s/^([0-9]*).*/\1/'|sort -n|uniq|tail -n 1`
fi
echo $svn_rev
SVN_REV = $$(SVN_REVISION)
isEmpty(SVN_REV) {
SVN_REV = $$system(svnversion -n $$PWD)
}
SVN_REV = $$(svn_rev)
isEmpty(SVN_REV) {
unix {
SVN_REV = $$system(cd $$PWD/.. ; ./printrev.sh)
} else {
SVN_REV = $$system(svnversion -n $$PWD)
}
}
REV_STR = '\\"$${SVN_REV}\\"'
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment