Path fix for TMPFILE (Win10 fix)

This commit is contained in:
Willem Oosting 2022-07-02 16:48:38 +02:00 committed by GitHub
parent 8e00c4e223
commit a8482b7d49
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -22,8 +22,8 @@ CONFIGFILE=".${PROG}.conf"
JOPLIN_DIR= JOPLIN_DIR=
JOPLIN_SYNC_TARGET= JOPLIN_SYNC_TARGET=
VALID_RESOURCES=`mktemp "${TMPDIR:-/tmp/}$PROG.vr.XXXXXXXX"` VALID_RESOURCES=`mktemp "${TMPDIR:-/tmp}/$PROG.vr.XXXXXXXX"`
DELETE_RESOURCES=`mktemp "${TMPDIR:-/tmp/}$PROG.dr.XXXXXXXX"` DELETE_RESOURCES=`mktemp "${TMPDIR:-/tmp}/$PROG.dr.XXXXXXXX"`
# on macOS, the default getopt is a useless piece of shit # 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 # install getopt via MacPorts or brew and put it in the PATH before /usr/bin