Shellcheck: Fix convert.sh

This commit is contained in:
Saverio Miroddi 2020-05-05 23:21:07 +02:00
parent f8a09ce261
commit 0d6f69bbbd
1 changed files with 1 additions and 1 deletions

View File

@ -1,6 +1,6 @@
#!/bin/bash #!/bin/bash
source_dir=$(readlink -f $(dirname "$0")) source_dir=$(readlink -f "$(dirname "$0")")
demo_dir=$(dirname "$source_dir") demo_dir=$(dirname "$source_dir")
(for f in "$source_dir"/*.webm; do echo "file '$f'"; done) | ffmpeg -f concat -safe 0 -i /dev/stdin -vf "fps=2,split[s0][s1];[s0]palettegen[p];[s1][p]paletteuse" "$demo_dir/demo.gif" -y (for f in "$source_dir"/*.webm; do echo "file '$f'"; done) | ffmpeg -f concat -safe 0 -i /dev/stdin -vf "fps=2,split[s0][s1];[s0]palettegen[p];[s1][p]paletteuse" "$demo_dir/demo.gif" -y