Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 58687

Summary: Installer: check for bash in Terminal.app.
Product: Gentoo Linux Reporter: Ian Spivey <ispivey>
Component: [OLD] DevelopmentAssignee: osx porters <osx>
Status: RESOLVED WONTFIX    
Severity: normal CC: osx, zx
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Ian Spivey 2004-07-28 11:46:14 UTC
Gentoo for OS X installer doesn't check to make sure you're using bash in Terminal.app.  If you're using tcsh, bootstrapping will work but emerge system won't, obviously.  Since tcsh is the default Terminal.app shell, it would be useful to check the current shell during Gentoo for OS X installation or bootstrapping, and output a warning/instructions to fix the shell.

Reproducible: Always
Steps to Reproduce:
1. Open Terminal.app properties.
2. Set default shell to /bin/tcsh, if it isn't already set, and hit OK.
3. Open a new Terminal.app.
4. Type "emerge system".  You'll note that the command is not found.
5. Type "source /etc/profile".

Actual Results:  
tcsh complains about not understanding the bash config file syntax.

Expected Results:  
told me that I can't be using tcsh.
Comment 1 Pieter Van den Abeele (RETIRED) gentoo-dev 2004-09-24 19:16:56 UTC
Thnxs for the input. We hope to include something that warns the user in the next installer.
Comment 2 Hasan Khalil (RETIRED) gentoo-dev 2005-01-19 18:50:03 UTC
pvdabeel: status update on this?
Comment 3 Kito (RETIRED) gentoo-dev 2005-09-16 18:33:23 UTC
I don't think this is relevant any longer, a) Apple ships with bash as the default shell now b) it shouldn't 
matter what the users shell is anyway, portage will still use bash.