From 39c967617001dcc6a6754a2f0f027c01fc170971 Mon Sep 17 00:00:00 2001 From: "Sergey \"Shnatsel\" Davidoff" Date: Mon, 9 Jan 2017 18:41:07 +0300 Subject: [PATCH] Use BSD-compatible mktemp invocation --- furaffinity-dl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/furaffinity-dl b/furaffinity-dl index 4fbeea7..2366ab8 100755 --- a/furaffinity-dl +++ b/furaffinity-dl @@ -17,7 +17,7 @@ fi runtime_dir="$HOME"'/.cache/furaffinity-dl' mkdir -p "$runtime_dir" -tempfile="$(umask u=rwx,g=,o= && mktemp --tmpdir=$runtime_dir)" +tempfile="$(umask u=rwx,g=,o= && mktemp $runtime_dir/fa-dl.XXXXXXXXXX)" cleanup() { rm -r "$tempfile"