Re: sys/conf/newvers.sh vs. subversion-1.7
On Oct 22, 2011, at 8:39 AM, Olivier Smedts wrote:
> 2011/10/22 Garrett Cooper <yanegomi@gmail.com>:
>>=20
>> $(svn info | awk '/^Revision:/ {print $2}')
>>=20
>> is what I use in my installkernel wrapper script. Granted, I didn't =
know
>> about svnversion some time later, but it appears that svnversion =
broke some
>> things by consolidating the .svn directories as Chris shows above =
with the
>> 'exported' line.
>=20
> Won't work for localized builds :
> $ echo $LANG
> fr_FR.ISO8859-15
> $ pwd
> /usr/src
> $ $(svn info | awk '/^Revision:/ {print $2}')
> $ svn info
> Chemin : .
> Chemin racine de la copie de travail : /usr/src
> URL : http://svn.freebsd.org/base/stable/9
> Racine du d=E9p=F4t : http://svn.freebsd.org/base
> UUID du d=E9p=F4t : ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
> R=E9vision : 226629
> [...]
That was of course just an example of what I did :).
-Garrett=
_______________________________________________
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org"
討論串 (同標題文章)
完整討論串 (本文為第 19 之 33 篇):