diff options
author | rsc <devnull@localhost> | 2004-06-17 03:30:49 +0000 |
---|---|---|
committer | rsc <devnull@localhost> | 2004-06-17 03:30:49 +0000 |
commit | 7ae745421a25a4706522fe894303cc40ec153cd1 (patch) | |
tree | 79c0cd4c530b92d83ffbf2c62ff4a81f3ead332d /src/cmd/acme/acme.c | |
parent | 372c9567e1d2b9115eeee0db4a28ba0688e490dc (diff) | |
download | plan9port-7ae745421a25a4706522fe894303cc40ec153cd1.tar.gz plan9port-7ae745421a25a4706522fe894303cc40ec153cd1.tar.bz2 plan9port-7ae745421a25a4706522fe894303cc40ec153cd1.zip |
look for $HOME - thanks to peter canning.
Diffstat (limited to 'src/cmd/acme/acme.c')
-rw-r--r-- | src/cmd/acme/acme.c | 2 |
1 files changed, 2 insertions, 0 deletions
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); |