From 8e00c4e2238bfa474f942cda427abe0057e354f3 Mon Sep 17 00:00:00 2001 From: Willem Oosting Date: Sat, 2 Jul 2022 16:48:01 +0200 Subject: [PATCH] Path fix for TMPFILE (Win10 fix) --- jnrmor | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/jnrmor b/jnrmor index b8c1335..6ed66be 100755 --- a/jnrmor +++ b/jnrmor @@ -16,7 +16,7 @@ JOPLIN_DIR= CLIPPER_TOKEN= CLIPPER_PORT= -TMPFILE=`mktemp "${TMPDIR:-/tmp/}$PROG.XXXXXXXX"` +TMPFILE=`mktemp "${TMPDIR:-/tmp}/$PROG.XXXXXXXX"` # on macOS, the default getopt is a useless piece of shit # install getopt via MacPorts or brew and put it in the PATH before /usr/bin