From a8c804cbfed0d2563551357590769c9e3c2583dc Mon Sep 17 00:00:00 2001 From: =?utf8?q?Craig=20Treleaven=C2=A0?= Date: Wed, 16 Mar 2022 09:43:16 +0000 Subject: [PATCH] Fix #978: mktemp usage incompatible with some BSD-derived systems https://github.com/BestImageViewer/geeqie/issues/978 Some mktemp implementations are defined as: mktemp [-d] [-q] [-t prefix] [-u] template ... mktemp [-d] [-q] [-u] -t prefix --- doc/create-doxygen-lua-api.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/create-doxygen-lua-api.sh b/doc/create-doxygen-lua-api.sh index b4b4d769..84f71991 100755 --- a/doc/create-doxygen-lua-api.sh +++ b/doc/create-doxygen-lua-api.sh @@ -39,7 +39,7 @@ export DOCDIR="$PWD/html/lua-api" export INLINE_SOURCES=NO export STRIP_CODE_COMMENTS=YES -TMPFILE=$(mktemp) || exit 1 +TMPFILE=$(mktemp "$TMPDIR/geeqie.XXXXXXXX") || exit 1 # Modify the Geeqie doxygen.conf file to produce # only the data needed for the lua API document -- 2.20.1