bash environment variables
Imported from the Apple Support Forums via the Wayback Machine 🔗
This is about a friend's MacBook; mine is a MacBook Pro.) Running Terminal on his MacBook, it starts up using a bash shell, but the environment variables HOSTTYPE and MACHTYPE indicate a powerpc instead of the i386 that he actually has. If I run a tcsh subshell, the variables are set correctly. He has no .profile file, nor .bashrc, etc., and the /etc/profile is normal. Why should it think it is a powerpc?
Doing "uname -a" produces normal results; it's an i386. Presumably these incorrect variables screw up shell scripts (wrong libraries are accessed). What is responsible for setting these environment variables, and what can be done about it?
I also posted this question on the MacBook forum.
John Doner
2 replies
Sign in or join Beachball Help to reply.
- 0
- 0
