nanobsd-built system doesn't have SVN revision in "uname" (and it looks like regression)

Glen Barber gjb at FreeBSD.org
Sat Aug 10 18:25:02 UTC 2013


On Sat, Aug 10, 2013 at 02:11:52PM -0400, Glen Barber wrote:
> On Sat, Aug 10, 2013 at 01:09:20PM -0500, Dan Mack wrote:
> > It looks like you are doing the first [! -z '"${svnversion}"' ]
> > before $svnversion is being set.   In the old version, this was
> > being set via:
> > 
> > if [ -x /usr/bin/svnliteversion ] ; then
> >         svnversion=/usr/bin/svnliteversion
> > fi
> > 
> > But I'm not sure if that's intentional or not ...
> > 
> 
> Ugh.  No, this was not intentional.  I'll have this fixed shortly.
> 

Fixed in r254184.  The problem is that I was evaluating ${svnversion}
being set before looking for /usr/bin/svnliteversion; however when
_running_ /usr/bin/svnliteversion, it was being run as
/usr/bin/svnversion by mistake.

Thank you for the reports, and Dan, thank you for your help.

Glen

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 488 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/freebsd-current/attachments/20130810/40730815/attachment.sig>


More information about the freebsd-current mailing list