'which' and installing Linux software on -STABLE

Pete French pfrench at firstcallgroup.co.uk
Thu Jul 24 09:00:09 PDT 2003


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.


More information about the freebsd-stable mailing list