From ddfc600485f5865ecc2bc352c7cfdfa45e10c25e Mon Sep 17 00:00:00 2001 From: Ben Gras Date: Wed, 5 Apr 2006 09:28:52 +0000 Subject: [PATCH] Put elvis temporary files in /tmp, so it works from cd. --- commands/elvis/Makefile | 4 ++++ commands/elvis/config.h | 4 +--- 2 files changed, 5 insertions(+), 3 deletions(-) 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