From 7ae745421a25a4706522fe894303cc40ec153cd1 Mon Sep 17 00:00:00 2001 From: rsc Date: Thu, 17 Jun 2004 03:30:49 +0000 Subject: look for $HOME - thanks to peter canning. --- src/cmd/acme/acme.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/cmd/acme') 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); -- cgit v1.2.3