Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'bash from MacPorts' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
bash from MacPorts
Authored by: corienti on Nov 21, '07 02:54:47PM

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 | # ]