Pick of the Week - Nov 10 [Show all picks]
Path Finder 5 - A feature-laden Finder replacement
Submit Hint Search The Forums LinksStatsPollsFAQHeadlinesRSS
12,000 hints and counting!


Click here to return to the 'bash from MacPorts' hint
The following comments are owned by whomever posted them. This site is not responsible for what they say.
bash from MacPorts
Authored by: corienti on Wed, Nov 21 2007 at 2:54PM PST
I was frustrated at this immediately as soon as I installed Leopard.

My solution was simply to install bash from MacPorts (which I was using in Tiger anyway) and then use dscl to change all user acccounts (including root) to use /opt/local/bin/bash for UserShell.

So it was fixed on the first day for me :-)

NB I quite agree, never replace /bin/sh with /bin/bash, that kind of thing is rather bad practice. Update your UserShell to use /bin/bash if you wish.

I always write my scripts with #!/bin/bash anyway, never /bin/sh, so scripts weren't a problem, only login sessions.


[ Reply to This | # ]