2019-06-05 14:48:26 +02:00
|
|
|
Index: vim-8.1.1467/src/vimtutor
|
|
|
|
===================================================================
|
|
|
|
--- vim-8.1.1467.orig/src/vimtutor
|
|
|
|
+++ vim-8.1.1467/src/vimtutor
|
2010-11-22 13:28:22 +01:00
|
|
|
@@ -24,8 +24,7 @@ xx=$1
|
2006-12-15 17:15:12 +01:00
|
|
|
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.
|