]> Zhao Yanbai Git Server - minix.git/commitdiff
Put elvis temporary files in /tmp, so it works from cd.
authorBen Gras <ben@minix3.org>
Wed, 5 Apr 2006 09:28:52 +0000 (09:28 +0000)
committerBen Gras <ben@minix3.org>
Wed, 5 Apr 2006 09:28:52 +0000 (09:28 +0000)
commands/elvis/Makefile
commands/elvis/config.h

index 4d90059cea7be9afff3edc7585ee6d7b8292a84f..d431ea5fdc028b6746d4aa985184ff07166ea58a 100755 (executable)
@@ -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 $@
 
index a4481397d3da569e8a2ea15221e5beb19a3057d7..90307bb9bd96889145fc1b23e0207684cc739e90 100755 (executable)
@@ -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