From owner-freebsd-current@FreeBSD.ORG Sun Aug 11 14:00:58 2013 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 33EFE36B; Sun, 11 Aug 2013 14:00:58 +0000 (UTC) (envelope-from mack@macktronics.com) Received: from borg.macktronics.com (borg.macktronics.com [209.181.253.68]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 04B2526BF; Sun, 11 Aug 2013 14:00:57 +0000 (UTC) Received: from olive.macktronics.com (olive.macktronics.com [209.181.253.67]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by borg.macktronics.com (Postfix) with ESMTPS id E6005AFA; Sun, 11 Aug 2013 09:00:56 -0500 (CDT) Date: Sun, 11 Aug 2013 09:00:56 -0500 (CDT) From: Dan Mack To: Glen Barber Subject: Re: nanobsd-built system doesn't have SVN revision in "uname" (and it looks like regression) In-Reply-To: <20130811135746.GI2432@glenbarber.us> Message-ID: 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> <20130811135746.GI2432@glenbarber.us> User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed 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 14:00:58 -0000 Yeah, I agree with avoiding the 'cd' as well. I'll give it a try shortly. Dan On Sun, 11 Aug 2013, Glen Barber wrote: > On Sun, Aug 11, 2013 at 08:25:42AM -0500, Dan Mack wrote: >> >> 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 ... >> > > 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 > > dan -- Dan Mack