Re: how to set environmental variables for a shell temporarily (ie not via .bashrc)

2006-05-07 Thread Mitchell Laks
On Sunday 07 May 2006 18:33, Henrique G. Abreu wrote: > try > #!/bin/sh > it may work > Henrique hi Henrique, i had tried that (described in my original post), and it did not work. On the other hand, what does work, is taking all the different variable definitions and export lines and putting

Re: how to set environmental variables for a shell temporarily (ie not via .bashrc)

2006-05-07 Thread Henrique G. Abreu
I created a file with these lines, chmoded 755 the file (and tried with and without adding #!/usr/bin/sh as the first line ) and it did not help. try #!/bin/sh it may work Henrique

Re: how to set environmental variables for a shell temporarily (ie not via .bashrc)

2006-05-06 Thread Mitchell Laks
> > even if I run it, it only sets the variables within the run shell > it does not source the variables for the father (mother) shell > > How can I do this? Duh, source filename works just like like in the c shell where i saw it used before sorry to bother ... > > Thanks > Mitchekk --

how to set environmental variables for a shell temporarily (ie not via .bashrc)

2006-05-06 Thread Mitchell Laks
Hi, I want to set a few shell variables that I occasionally want to set up. I dont want them set always. Thats why I can't put them in .bashrc thus I want to temporarily export PATH=/home/mlaks/stable-gtk/local/bin:$PATH export \ LD_LIBRARY_PATH=/home/mlaks/stable_gtk/local/lib:/home/mlaks