diff --git a/src/cmd/acme/acme.c b/src/cmd/acme/acme.c index 7913eb1c..04931905 100644 --- a/src/cmd/acme/acme.c +++ b/src/cmd/acme/acme.c @@ -111,6 +111,8 @@ threadmain(int argc, char *argv[]) cputype = getenv("cputype"); objtype = getenv("objtype"); home = getenv("home"); + if(home == nil) + home = getenv("HOME"); p = getenv("tabstop"); if(p != nil){ maxtab = strtoul(p, nil, 0);