Put elvis temporary files in /tmp, so it works from cd.

This commit is contained in:
Ben Gras 2006-04-05 09:28:52 +00:00
parent 3b6220fe77
commit ddfc600485
2 changed files with 5 additions and 3 deletions

View file

@ -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 $@

View file

@ -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