mirror of
https://github.com/RetroShare/RetroShare.git
synced 2024-10-01 02:35:48 -04:00
fixed version script (Patch form AC)
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@5046 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
c174ad913f
commit
0e1b989e08
@ -18,7 +18,7 @@ elif ( git log -n 10 | grep svn &> /dev/null); then
|
||||
fi
|
||||
|
||||
if ( svn info &> /dev/null); then
|
||||
version=$(svn info | head -n 5 | tail -1)
|
||||
version=$(svn info | grep '^Revision:')
|
||||
fi
|
||||
if [[ $version != '' ]]; then
|
||||
version="$version date : $(date +'%T %m.%d.%y')"
|
||||
|
@ -20,7 +20,7 @@ if (ls &> /dev/null); then
|
||||
fi
|
||||
|
||||
if ( /usr/bin/svn info &> /dev/null); then
|
||||
echo "Svn version : $(svn info | head -n 5 | tail -1)" >> gui/help/version.html
|
||||
echo "Svn version : $(svn info | grep '^Revision:')" >> gui/help/version.html
|
||||
fi
|
||||
date >> gui/help/version.html
|
||||
echo "" >> gui/help/version.html
|
||||
@ -42,7 +42,7 @@ elif ( git log -n 10 | grep svn &> /dev/null); then
|
||||
fi
|
||||
|
||||
if ( svn info &> /dev/null); then
|
||||
version=$(svn info | head -n 5 | tail -1)
|
||||
version=$(svn info | grep '^Revision:')
|
||||
fi
|
||||
if [[ $version != '' ]]; then
|
||||
version="$version date : $(date +'%T %m.%d.%y')"
|
||||
|
Loading…
Reference in New Issue
Block a user