I feel very stupid having to ask this, I do a lot with shell scripts and I'm sure it's very simple, but I can't seem to change the $PATH with a shell script on OZ.PATH=$PATH:/mnt/card/.zgcc/binexport PATH
This is the partially sighted leading the blind, but isn't export a bash built-in but oz runs sh by default?BTW, both syntaxes should work, but AFAIK only in bash.
I feel very stupid having to ask this, I do a lot with shell scripts and I'm sure it's very simple, but I can't seem to change the $PATH with a shell script on OZ.PATH=$PATH:/mnt/card/.zgcc/binexport PATHWhy doesn't that work?ThanksSimon[div align=\"right\"][a href=\"index.php?act=findpost&pid=73138\"][{POST_SNAPBACK}][/a][/div]
---- file "changepath" ----PATH=$PATH:/mnt/card/.zgcc/binexport PATH---- file "changepath" ----source ./changepath
root@collie:~# source /usr/bin/zgcc-sh: source: not found [div align=\"right\"][a href=\"index.php?act=findpost&pid=73146\"][{POST_SNAPBACK}][/a][/div]
. /usr/bin/zgcc