From: Johannes Schindelin Date: Fri, 20 Jun 2014 15:11:25 +0000 (-0500) Subject: vimtutor: avoid warning due to Windows' lack of mktemp X-Git-Url: https://repo.or.cz/w/msysgit.git/commitdiff_plain/fd0d8400e30e82df1c61afe8b62e7eddf5ff8e20 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 --- diff --git a/bin/vimtutor b/bin/vimtutor index 70d9ec74..eb483eb9 100644 --- a/bin/vimtutor +++ b/bin/vimtutor @@ -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.