From owner-freebsd-current@FreeBSD.ORG Wed Nov 17 19:36:14 2010 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6A7811065670; Wed, 17 Nov 2010 19:36:14 +0000 (UTC) (envelope-from yanegomi@gmail.com) Received: from mail-ew0-f54.google.com (mail-ew0-f54.google.com [209.85.215.54]) by mx1.freebsd.org (Postfix) with ESMTP id C7EEE8FC13; Wed, 17 Nov 2010 19:36:13 +0000 (UTC) Received: by ewy3 with SMTP id 3so1458961ewy.13 for ; Wed, 17 Nov 2010 11:36:12 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:sender:received :in-reply-to:references:date:x-google-sender-auth:message-id:subject :from:to:cc:content-type:content-transfer-encoding; bh=KGxn2keoFgwXRMb+tMvVqQMekyIq9SY6HBhoAhJjIw8=; b=S1yVns44iaV0Xu47+zoCAENuYIG1iqsiXRKkCDmnqXNIVjJ+FlQ1ubxjBFGJn2CH/z I1U3KzAWRZIAXhwmBCB3nfi2dC3DeHd1E04BwWVLoqDPiNOUiFSRBgi4UrJotlfXG8Fh KL3SpwFYoC2VtrRVg2HhF1/iyt1kK24wMuFog= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type :content-transfer-encoding; b=ct8gE3QxJCX8fO5AdqG4HBd/enA/mWGqkkulA8UiSbC6chOm6dttucPFocXyY9HW6a oXqAhhOKTtaxOn86N3x54IGHEoEGNVG+zULKz5cf9rAKkUeIBXP/Q6eBkmKJiWF5HRla zMLDPqQkpADfjqBOspyGsxXUzQeMYuiUOfHus= MIME-Version: 1.0 Received: by 10.216.82.197 with SMTP id o47mr9271388wee.45.1290022572143; Wed, 17 Nov 2010 11:36:12 -0800 (PST) Sender: yanegomi@gmail.com Received: by 10.216.198.27 with HTTP; Wed, 17 Nov 2010 11:36:12 -0800 (PST) In-Reply-To: References: Date: Wed, 17 Nov 2010 11:36:12 -0800 X-Google-Sender-Auth: My3LDOueYsv_tnliA0ZG-o_Bb2M Message-ID: From: Garrett Cooper To: FreeBSD Current Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: Warner Losh Subject: newvers.sh: can't find dirname? X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 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: Wed, 17 Nov 2010 19:36:14 -0000 =A0 =A0This is the second time I've seen this (I forgot why I fixed it the first time, reverted the local change, and ran into the change the second time): =3D=3D=3D> include (install) creating osreldate.h from newvers.sh NEWVERS PATH: /usr/obj/usr/src/tmp/legacy/usr/sbin:/usr/obj/usr/src/tmp/leg= acy/usr/bin:/usr/obj/usr/src/tmp/legacy/usr/games:/usr/obj/usr/src/tmp/usr/= sbin:/usr/obj/usr/src/tmp/usr/bin:/usr/obj/usr/src/tmp/usr/games:/tmp/insta= ll.Nuxzcgf9 /usr/src/include/../sys/conf/newvers.sh: dirname: not found ... # dirname usage: dirname string [...] =A0 =A0I hacked around this by adding dirname to $PATH in newvers.sh (if you look at the above $PATH printed out, it doesn't contain /bin and /usr/bin -- both which are required to run the above commands), but I was wondering if anyone else has run into this issue before, and whether or not a better solution was in the works (maybe). Thanks, -Garrett