Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 24 Jul 2003 17:00:07 +0100
From:      Pete French <pfrench@firstcallgroup.co.uk>
To:        stable@FreeBSD.ORG
Subject:   'which' and installing Linux software on -STABLE
Message-ID:  <E19fiVj-000E9u-00@mailhost.firstcallgroup.co.uk>

next in thread | raw e-mail | index | archive | help

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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?E19fiVj-000E9u-00>