little newbie script problem
Hi,
a program (Maple) I installed needs some variable to be exported, so therefore I wrote this little script, which I have called 'xmaple' and put it in /usr/bin/ Code:
#!/bin/sh It's not that big of a problem of course, but I'm curious how to solve it. Thank you very much for helping, mr fungus |
Have you tried the following:
exec /home/me/installs/maple8/bin/xmaple "$*" |
just tried it, no luck :-/
Thanks anyway, fung |
If all you need is to export a variable, just add "export VARIABLE=whatever" to your ~/.bashrc script. Then type "source ~/.bashrc". The .bashrc script gets activated whenever you log in, so as long as you don't change users, VARIABLE should always be exported.
|
Ok...how about
exec /home/me/installs/maple8/bin/xmaple "$@" |
All times are GMT -5. The time now is 09:25 PM. |