vimtutor: avoid warning due to Windows' lack of mktemp

This is the quickest way to avoid those warnings, and this developer deems
that good enough a work around.

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
This commit is contained in:
Johannes Schindelin 2014-06-20 10:11:25 -05:00
Родитель 72920aa97e
Коммит fd0d8400e3
1 изменённых файлов: 1 добавлений и 1 удалений

Просмотреть файл

@ -25,7 +25,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=none
# If the standard commands failed then create a directory to put the copy in.
# That is a secure way to make a temp file.