look for $HOME - thanks to peter canning.
This commit is contained in:
parent
372c9567e1
commit
7ae745421a
1 changed files with 2 additions and 0 deletions
|
|
@ -111,6 +111,8 @@ threadmain(int argc, char *argv[])
|
||||||
cputype = getenv("cputype");
|
cputype = getenv("cputype");
|
||||||
objtype = getenv("objtype");
|
objtype = getenv("objtype");
|
||||||
home = getenv("home");
|
home = getenv("home");
|
||||||
|
if(home == nil)
|
||||||
|
home = getenv("HOME");
|
||||||
p = getenv("tabstop");
|
p = getenv("tabstop");
|
||||||
if(p != nil){
|
if(p != nil){
|
||||||
maxtab = strtoul(p, nil, 0);
|
maxtab = strtoul(p, nil, 0);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue