From owner-freebsd-current@FreeBSD.ORG Sun Aug 11 13:57:50 2013 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 82C58211; Sun, 11 Aug 2013 13:57:50 +0000 (UTC) (envelope-from gjb@FreeBSD.org) Received: from mail0.glenbarber.us (mail0.glenbarber.us [IPv6:2607:fc50:1:2300:1001:1001:1001:face]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 52445267F; Sun, 11 Aug 2013 13:57:50 +0000 (UTC) Received: from glenbarber.us (nucleus.glenbarber.us [IPv6:2001:470:8:1205:2:2:ff:29]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) (Authenticated sender: gjb) by mail0.glenbarber.us (Postfix) with ESMTPSA id CE7A9DE71; Sun, 11 Aug 2013 13:57:48 +0000 (UTC) DKIM-Filter: OpenDKIM Filter v2.8.3 mail0.glenbarber.us CE7A9DE71 Authentication-Results: mail0.glenbarber.us; dkim=none reason="no signature"; dkim-adsp=none Date: Sun, 11 Aug 2013 09:57:46 -0400 From: Glen Barber To: Dan Mack Subject: Re: nanobsd-built system doesn't have SVN revision in "uname" (and it looks like regression) Message-ID: <20130811135746.GI2432@glenbarber.us> References: <37152758.20130810151846@serebryakov.spb.ru> <602958881.20130810180203@serebryakov.spb.ru> <20130810141324.GD2432@glenbarber.us> <529930061.20130810191339@serebryakov.spb.ru> <20130810181152.GE2432@glenbarber.us> <20130810182459.GF2432@glenbarber.us> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="STPqjqpCrtky8aYs" Content-Disposition: inline In-Reply-To: X-Operating-System: FreeBSD 10.0-CURRENT amd64 User-Agent: Mutt/1.5.21 (2010-09-15) Cc: Lev Serebryakov , freebsd-embedded@freebsd.org, freebsd-current@freebsd.org X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 11 Aug 2013 13:57:50 -0000 --STPqjqpCrtky8aYs Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sun, Aug 11, 2013 at 08:25:42AM -0500, Dan Mack wrote: >=20 > There's still one problem left ... the svnliteversion test fails > because you are not in the correct directory. This is the patch that > worked for me ... >=20 Yep, you are correct. Although, rather than cd(1) to the SYSDIR directory, I think using realpath(1) is better, because that will use the full path to the newvers.sh script. Please try r254217, which should *finally* do the right thing. Glen --STPqjqpCrtky8aYs Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.20 (FreeBSD) iQEcBAEBCAAGBQJSB5haAAoJEFJPDDeguUajMYoH/A2KW3FwM3qh4FdshGW2ltJG WU3jjQvFwUyoP9OZQlOmp3XPQKl3DXkTodN7yNl+HNXKdSuTfCdySqcKQ0LP2lne kbfQtHHdQkn8jFpDaveGGbissbE4t00GeNM4kxn8AzZrY7zENCE5uGR9KiMtpsWH oh3wrdCH3zTclHYYRc1RkwFIeNQVPYtGNe68NFJ2mux8gWGCbdXE0c2wnWhgCYmL q7ECDLDV5P6F1AiEztUyXFPiqaQNceg8aa0HBE0DNegYI3henT0I3FpoXKpXMhd+ yibSlF0Si/E0RWISWGTBxA9g/iKhknB7OEl2lPDduigQ711Q8jmHuj/7RuywXsI= =pCC0 -----END PGP SIGNATURE----- --STPqjqpCrtky8aYs--