13 lines
505 B
Diff
13 lines
505 B
Diff
|
--- vim70/src/vimtutor.orig 2004-06-07 16:32:27.000000000 +0200
|
||
|
+++ vim70/src/vimtutor 2006-07-11 16:28:08.000000000 +0200
|
||
|
@@ -11,8 +11,7 @@
|
||
|
export xx
|
||
|
|
||
|
# We need a temp file for the copy. First try using a standard command.
|
||
|
-tmp="${TMPDIR-/tmp}"
|
||
|
-TUTORCOPY=`mktemp $tmp/tutorXXXXXX || tempfile -p tutor || echo none`
|
||
|
+TUTORCOPY=`mktemp /tmp/tutorXXXXXX || echo /tmp/tutor$$`
|
||
|
|
||
|
# If the standard commands failed then create a directory to put the copy in.
|
||
|
# That is a secure way to make a temp file.
|