From owner-freebsd-current Fri Mar 15 12:54:54 2002 Delivered-To: freebsd-current@freebsd.org Received: from flood.ping.uio.no (flood.ping.uio.no [129.240.78.31]) by hub.freebsd.org (Postfix) with ESMTP id E2A7C37B417; Fri, 15 Mar 2002 12:54:49 -0800 (PST) Received: by flood.ping.uio.no (Postfix, from userid 2602) id DFECA5346; Fri, 15 Mar 2002 21:54:47 +0100 (CET) X-URL: http://www.ofug.org/~des/ X-Disclaimer: The views expressed in this message do not necessarily coincide with those of any organisation or company with which I am or have been affiliated. To: Emiel Kollof Cc: "Crist J. Clark" , huntting@glarp.com, current@FreeBSD.ORG Subject: Re: 4.5->5.0 kldxref:No such file or directory References: <200203122105.g2CL56p02307@hunkular.glarp.com> <20020312174502.K29705@blossom.cjclark.org> <20020313031335.GA70809@hackerheaven.org> From: Dag-Erling Smorgrav Date: 15 Mar 2002 21:54:47 +0100 In-Reply-To: <20020313031335.GA70809@hackerheaven.org> Message-ID: Lines: 13 User-Agent: Gnus/5.0808 (Gnus v5.8.8) Emacs/21.1 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Emiel Kollof writes: > Why not test for it like this (or similar): > > [ -x /usr/sbin/kldxref ] && /usr/bin/kldxref (etcetera...) A better solution is @(kldxref ${DESTDIR}${KMODDIR} || \ echo "Ignoring non-fatal kldxref failure") DES -- Dag-Erling Smorgrav - des@ofug.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message