From 40f18ff5b261d8b49d704d501ae90497754d3ffe Mon Sep 17 00:00:00 2001 From: joss17 Date: Fri, 31 Jul 2009 18:27:01 +0000 Subject: [PATCH] fix version parsing sript git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@1460 b45a01b8-16f6-495d-af2f-9b41ad6348cc --- retroshare-gui/src/RetroShare.pro | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/retroshare-gui/src/RetroShare.pro b/retroshare-gui/src/RetroShare.pro index e437d736d..f574baf36 100644 --- a/retroshare-gui/src/RetroShare.pro +++ b/retroshare-gui/src/RetroShare.pro @@ -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) } } }