Re: nanobsd-built system doesn't have SVN revision in "uname" (a

看板FB_current作者時間12年前 (2013/08/11 02:32), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串9/12 (看更多)
--GV0iVqYguTV4Q9ER Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable 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: > >=20 > > if [ -x /usr/bin/svnliteversion ] ; then > > svnversion=3D/usr/bin/svnliteversion > > fi > >=20 > > But I'm not sure if that's intentional or not ... > >=20 >=20 > Ugh. No, this was not intentional. I'll have this fixed shortly. >=20 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 --GV0iVqYguTV4Q9ER Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.20 (FreeBSD) iQEcBAEBCAAGBQJSBoV7AAoJEFJPDDeguUajcdkIAK7KFqFppIpLq2+Ws1qcsPDI ddvJ8BaSGRFQKK3UHfxnJbbyIImKn4nsoQU9sFq+pgo91leIapWYuobLUAJCYs// A72A5yoEL5tuMiyIK/h0Sd0DHWYnRPn/HXEh/rXXOihuMp38+AF0Vb0+RyoPz6/N anvcQZosvNtziE7uybQUZoAyPw66+VW7SDNVxivYEEhcUbIKAFUShud4yU88HKpS FfNBBsPUA/k9UVBjJdlVC4LOuucmwnx9ToKhS5SoWQLxo6nud1lzPidPeIBt2t5R PmVGFs7ih6xa6+3P2PV+DcQvvBGgkDKbaW3QcqBNe6zrLilgfHS3Fk0pIsEF5gg= =m02a -----END PGP SIGNATURE----- --GV0iVqYguTV4Q9ER--
文章代碼(AID): #1I1eSZBi (FB_current)
討論串 (同標題文章)
完整討論串 (本文為第 9 之 12 篇):
文章代碼(AID): #1I1eSZBi (FB_current)