Quoting Antonio Galea <[EMAIL PROTECTED]>: > --- In [email protected], John Crispin <[EMAIL PROTECTED]> wrote: >> Quoting adeplante <[EMAIL PROTECTED]>: >> > when i use ./sdk_version there is no version number after the text ! >> this feature seems to be broken when using a recent subversion rev, >> as the .svn/entries format has changed.... i will look into it > Hello all, > I had the same problem - my fix's attached.
Sorry, email attachments are munged by the list manager software. Here's the output of "svn diff sdk_version": ######################################################################### Index: sdk_version =================================================================== --- sdk_version (revision 238) +++ sdk_version (working copy) @@ -1,7 +1,7 @@ #!/bin/bash -VERSION=`grep "revision=" .svn/entries | sort -r | head -1 | sed "s/ revision=\"//g"| sed "s/\"\/>//g"` +VERSION=`svn info|grep Revision|cut -f2 -d\ ` if [ "x$1" == "xV" ] then ######################################################################### Bye, Ant9000
