[mythtv-users] Build error.

Michael Lynch lynchmv at gmail.com
Fri Mar 11 02:19:53 UTC 2011

On Thu, Mar 10, 2011 at 5:49 PM, Jan Johansson <j2 at mupp.net> wrote:
> I pulled a new git about an hour ago (how does one check revision with git
> btw?)

Here is how I get the version I pull from git.  I clobbered together
bits and pieces I found over the internet to come up with this:

git describe |awk -F"." '{print $2}' |awk -F"-" '{print "0."$1"."$2}'

It outputs something such as:

lynchmv at slacke6400:~/src/mythtv$ git describe |awk -F"." '{print $2}'
|awk -F"-" '{print "0."$1"."$2}'

More information about the mythtv-users mailing list