From owner-freebsd-stable@FreeBSD.ORG Thu Jul 24 09:00:09 2003 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5B9FF37B401 for ; Thu, 24 Jul 2003 09:00:09 -0700 (PDT) Received: from mailhost.firstcallgroup.co.uk (dilbert.firstcallgroup.co.uk [194.200.93.142]) by mx1.FreeBSD.org (Postfix) with ESMTP id 94D2543F93 for ; Thu, 24 Jul 2003 09:00:08 -0700 (PDT) (envelope-from pfrench@firstcallgroup.co.uk) Received: from pfrench by mailhost.firstcallgroup.co.uk with local (Exim 4.12) id 19fiVj-000E9u-00 for stable@FreeBSD.ORG; Thu, 24 Jul 2003 17:00:07 +0100 To: stable@FreeBSD.ORG Message-Id: From: Pete French Date: Thu, 24 Jul 2003 17:00:07 +0100 Subject: 'which' and installing Linux software on -STABLE X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 24 Jul 2003 16:00:09 -0000 Has anyone else had frustrating problems with the use of 'which' in Linux mode ? I have some SUN software which I am trying to install. I am running Linux bash to run the install script - running 'uname' returns 'Linux' But the SUn code does 'which uname' to get the path to 'uname' before running it. the ;which' command is a bash builtin, and this returns the '/usr/bin/uname' command rather than '/bin/uname'. Thus it runs /usr/bin;uname, egts the answer 'FreeBSD' and refuses to install. Any ideas ? I did a search on this but didnt come up with any answers. -pcf.