View Single Post
Posts: 1,100 | Thanked: 2,797 times | Joined on Apr 2011 @ Netherlands
#161
Originally Posted by Rob1n View Post
On mine, the initial shell (from running X Terminal or via ssh) reports "-sh" as $0 and has TMPDIR set to /var/tmp. Running "sh" to start a new shell reports "sh" as $0 and has no TMPDIR set though.
Yeah, that is exactly what I am talking about.
I described the way to test it a little wrong.

How I tested it: my default shell is bash. From there I opened an sh shell. You guys are probably starting directly in sh.

So please all do the test again: This time: start a new shell in x-terminal (by typing sh). In the latest version of busybox TMPDIR is not set. In the previous version it is.

Sorry for not describing it accuratly in the first place...
 

The Following User Says Thank You to ade For This Useful Post: