fix version parsing sript

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@1460 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
joss17 2009-07-31 18:27:01 +00:00
parent 6bd87814ea
commit 40f18ff5b2

View File

@ -25,7 +25,7 @@ version_detail_linux {
system(/usr/bin/git log) {
#retrieve git commit
system(echo "Git version : " >> gui/help/version.html)
system(git status | grep branch >> gui/help/version.html)
system(git status | grep branch | cut -c 3- >> gui/help/version.html)
system(git log -n 1 | grep commit >> gui/help/version.html)
system(git log -n 1 | grep svn >> gui/help/version.html)
system(echo "" >> gui/help/version.html)
@ -37,7 +37,7 @@ version_detail_linux {
system(/usr/bin/svn info) {
#retrieve svn revision
system(echo "Svn version : " >> gui/help/version.html)
system(svn info | head -n 5 | head -n 5 | tail -1 >> gui/help/gitversion.txt)
system(svn info | head -n 5 | head -n 5 | tail -1 >> gui/help/version.html)
}
}
}