Set the SHELL to use for bundle commands

View: New views
2 Messages — Rating Filter:   Alert me  

Set the SHELL to use for bundle commands

by Svoop :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi

I'm trying to teach TM to play nicely with Gentoo Prefix. (That's Gentoo Linux installed in a subdir such as /Gentoo which comes with it's own compiler, but runs on the Darwin kernel. Very handy for Ruby development.) Even if I set all environment vars explicitly in TM, I have hickups here and there. I'd like to tell TM to use the bash from Gentoo Prefix /Gentoo/bin/bash instead of the one coming with Mac OS X. Is there a way to do that?

Even when doing a "/Gentoo/bin/bash -l" in bash_init.sh and then dump the environment in a bundle command, I still see "SHELL = /bin/bash" there. Is bash_init.sh read for scripts run from a bundle command at all?

Cheers and thanks,  -svoop

Re: Set the SHELL to use for bundle commands

by Allan Odgaard-4 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On 13 Oct 2009, at 20:16, Svoop wrote:

> I'm trying to teach TM to play nicely with Gentoo Prefix. (That's  
> Gentoo
> Linux installed in a subdir such as /Gentoo which comes with it's own
> compiler, but runs on the Darwin kernel. Very handy for Ruby  
> development.)
> Even if I set all environment vars explicitly in TM, I have hickups  
> here and
> there. I'd like to tell TM to use the bash from Gentoo Prefix
> /Gentoo/bin/bash instead of the one coming with Mac OS X. Is there a  
> way to
> do that?

This presently cannot be configured. Is there a downside to using the  
standard bash?

> Even when doing a "/Gentoo/bin/bash -l" in bash_init.sh and then  
> dump the
> environment in a bundle command, I still see "SHELL = /bin/bash"  
> there. Is
> bash_init.sh read for scripts run from a bundle command at all?

We set BASH_ENV to bash_init.sh for bundle commands w/o a shebang line.


_______________________________________________
textmate mailing list
textmate@...
http://lists.macromates.com/listinfo/textmate