mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-01-02 03:16:18 -05:00
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:
parent
6bd87814ea
commit
40f18ff5b2
@ -25,7 +25,7 @@ version_detail_linux {
|
|||||||
system(/usr/bin/git log) {
|
system(/usr/bin/git log) {
|
||||||
#retrieve git commit
|
#retrieve git commit
|
||||||
system(echo "Git version : " >> gui/help/version.html)
|
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 commit >> gui/help/version.html)
|
||||||
system(git log -n 1 | grep svn >> gui/help/version.html)
|
system(git log -n 1 | grep svn >> gui/help/version.html)
|
||||||
system(echo "" >> gui/help/version.html)
|
system(echo "" >> gui/help/version.html)
|
||||||
@ -37,7 +37,7 @@ version_detail_linux {
|
|||||||
system(/usr/bin/svn info) {
|
system(/usr/bin/svn info) {
|
||||||
#retrieve svn revision
|
#retrieve svn revision
|
||||||
system(echo "Svn version : " >> gui/help/version.html)
|
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)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user