fix(nix/pkgs): remove typo in screen-cap
Some checks failed
Check Formatting of Files / Check-Formatting (push) Failing after 41s

This commit is contained in:
Price Hiller 2024-09-30 22:30:12 -05:00
parent f54efd28cc
commit 6e9b0b52a6
Signed by: Price
GPG Key ID: C3FADDE7A8534BEB

View File

@ -39,7 +39,7 @@ mk-screen-cap() {
if [[ "$output_type" == "gif" ]]; then
printf "Converting recording to gif...\n"
local gifski_tmpout
gifski_tmpout="${tmp_dir}/$(mktemp --"$tmp_dir" gifski.XXXXXXXXXXX).gif"
gifski_tmpout="${tmp_dir}/$(mktemp -- "$tmp_dir" gifski.XXXXXXXXXXX).gif"
gifski --output "$gifski_tmpout" "$tmp_file"
mv "$gifski_tmpout" "$tmp_file"
fi