My dash shell seems to be ignoring the PATH set in my /etc/environment file. Trying to launch firefox with dash, for example, gives me this message "dash: Can't open firefox". I have to specify "/usr/bin/firefox" for it to work. I'm pretty sure that it didn't work this way before, since some of my shell script are now broken. I could point "/bin/sh" to bash instead (bash still works properly), but I'd like to get to the bottom of this.
I was fiddling with the PATH lately, so that may be the cause. Currently it's like this:
Code:
PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/home/myusername/lejos/bin"
Is there a problem with it?