From: Ben Gras Date: Wed, 5 Apr 2006 09:28:52 +0000 (+0000) Subject: Put elvis temporary files in /tmp, so it works from cd. X-Git-Tag: v3.1.2a~47 X-Git-Url: http://zhaoyanbai.com/repos/%22http:/www.isc.org/icons/already%20found%20%2A/doxygen-warnings.log?a=commitdiff_plain;h=ddfc600485f5865ecc2bc352c7cfdfa45e10c25e;p=minix.git Put elvis temporary files in /tmp, so it works from cd. --- diff --git a/commands/elvis/Makefile b/commands/elvis/Makefile index 4d90059ce..d431ea5fd 100755 --- a/commands/elvis/Makefile +++ b/commands/elvis/Makefile @@ -60,12 +60,16 @@ elvprsv: elvprsv.c install -S 4kw $@ install: /usr/bin/elvis \ + /bin/elvis \ /usr/bin/ctags /usr/bin/ref /usr/bin/fmt \ /usr/bin/elvrec /usr/bin/elvprsv /usr/bin/elvis: elvis install -cs -o bin elvis $@ +/bin/elvis: elvis + install -cs -o bin elvis $@ + /usr/bin/ctags: ctags install -cs -o bin ctags $@ diff --git a/commands/elvis/config.h b/commands/elvis/config.h index a4481397d..90307bb9b 100755 --- a/commands/elvis/config.h +++ b/commands/elvis/config.h @@ -260,9 +260,7 @@ extern long lseek(); #if ANY_UNIX # ifndef TMPDIR # if MINIX -# define TMPDIR "/usr/tmp" /* Keep elvis' temp files off RAM disk! */ -# else -# define TMPDIR "/tmp" /* directory where temp files live */ +# define TMPDIR "/tmp" # endif # endif # ifndef PRSVDIR