Can't source script in launcher script
I've got a script, "setup", that sets some environment variables. I have another script, "launch", that launches a program for me. A launcher on my menu panel is set to run command "launch".
Here's what the text of "launch" looks like:
If I run this from the launcher, the program sees an empty string for FOO. If I run it from a terminal, the program sees a correct value for FOO.
Why the discrepancy? Is there a workaround that will allow a launcher to set variables via "setup" before running my program?
Re: Can't source script in launcher script
Solved by forcing the script to launch under bash (doesn't work under sh, apparently):