mirror of
https://github.com/Radiquum/furaffinity-dl.git
synced 2025-04-05 07:44:37 +00:00
Use BSD-compatible mktemp invocation
This commit is contained in:
parent
b7cc3bf676
commit
39c9676170
1 changed files with 1 additions and 1 deletions
|
@ -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"
|
||||
|
|
Loading…
Add table
Reference in a new issue