SVN_REV=`egrep 'ver.*mythtv' .svn/dir-wcprops | sed 's/^.*ver\///' |
sed 's/\/.*//'`
...
Why's grepping better than svn info / svnversion?
Only because it is faster than something that
checks each and every file across the network,
and allows builds when un-networked
(like when commuting with my laptop)
I wasn't actually aware of svnversion. Very nice.
The conciseness of the value set by:
SVN_REV=`svnversion .`
probably outweigh the networking issues.
--
Nigel Pearson, [EMAIL PROTECTED]| "Let's see how Spike is going"
Telstra Dev. Lab, Sydney, Australia | ...
Office: 9814 4803 Fax: 9814 4897 |"I'd like to keep Spike as my
pet."
Mobile: 0408 664435 Home: 9792 6998 | Illyria - Angel
_______________________________________________
mythtv-dev mailing list
[email protected]
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-dev