[LinuxBIOS] svn tricks II [was: superiotool: Make --version actually work correctly]
Ulf Jordan
jordan at chalmers.se
Wed Oct 17 22:11:46 CEST 2007
On Sun, 14 Oct 2007, Peter Stuge wrote:
> What is the suggestion for projects with subdirectories?
A generalized pipeline using svnversion when there are subdirectories
(possibly coming from svn:externals) could be:
find . -type d \
| grep -v "\.svn" \
| xargs -i svnversion -c {} \
| sed -e "s/.*://" -e "s/\([0-9]*\).*/\1/" \
| sort -un \
| tail -1
/ulf
More information about the coreboot
mailing list