[MPlayer-dev-eng] Use "svnversion" to determine working copy revision in version.sh

Herbert Alexander Faleiros herbert at faleiros.eti.br
Sat Jul 8 21:20:08 CEST 2006


On Saturday 08 July 2006 15:42, Herbert Alexander Faleiros wrote:
[cut]
> patch attached uses "svnversion" to determine working copy revision.
[cut]

Try 2:

if revision can't be determinated svnversion return "exported", so 2>/dev/null 
and "test $svn_revision || svn_revision=UNKNOWN" is unnecessary.

Also usign "test &&" instead "if test then fi" are faster (cosmetic?).

Herbert.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: version.sh-v2.patch
Type: text/x-diff
Size: 761 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/attachments/20060708/fcdb38a0/attachment.patch>


More information about the MPlayer-dev-eng mailing list