mirror of
https://github.com/Radiquum/furaffinity-dl.git
synced 2025-04-06 00:04:38 +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'
|
runtime_dir="$HOME"'/.cache/furaffinity-dl'
|
||||||
mkdir -p "$runtime_dir"
|
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() {
|
cleanup() {
|
||||||
rm -r "$tempfile"
|
rm -r "$tempfile"
|
||||||
|
|
Loading…
Add table
Reference in a new issue