I'm using the kaffe JVM under ixemul, getting it to run under AmigaOS. I have to type in long class path strings every time I open a new shell and it's boring.
How can I do this in a Linus script file? The commands I want to execute are:
export PATH=
export CLASSPATH=
export KAFFELIBRARYPATH=
I put these commands in a script "help" but /bin/sh won't recognise them and gives the error "./help: no such file or directory". If I leave out the "./" I get "help: not found".
I think that the shell isn't even reading the script, which has props of rwxr-xr-x (755).
Any help appreciated.
tony
edit:
Thanks anyway, but I got the answer: use the ".", as in ". ./file"
[Had to ask my daughter - cringe]
tony