Closed twobob closed 10 years ago
Do you mean this? [root@kindle bin]# PATH=/mypath ./kterm
right. PATH=/mypath:$PATH ./kterm or PATH=/mypath ./kterm
That doesn't work. far as I can tell..
Maybe I don't understand what you are trying to achieve.
I start kterm with command: "PATH=/mypath ./kterm". Then in kterm echo $PATH would give "/mypath".
really?
let me try that again then...
no. That doesn't happen for me.? [root@kindle root]# PATH=/mnt/us/extensions/kterm/bin/ /mnt/us/extensions/kterm/bin/kterm
and the PATH with be the regular set.
confused.
I can't reproduce it. It works on my Kindle. Did you change default shell? What happens if you export the variable before starting kterm:
[root@kindle root]# export PATH=/test
[root@kindle root]# /mnt/us/extensions/kterm/bin/kterm
I'll try that then.
and as far as I know nothing has been changed.
Or maybe you test it running the script from KUAL? Java environment overrides some env vars. See this post and read whole discussion
Am I missing something?
setting the PATH and then calling KTERM I only get the global envvars?
also - it's own BIN directory is not honoured/parsed....
Is there a BETTER way to call kterm???