commit a8bad58cbe029aed6e238bde3d6c328523899cb9
parent b5c24064e3303e2af7b787f881fbe983b021966c
Author: Anders Damsgaard <anders@adamsgaard.dk>
Date: Tue, 8 May 2018 10:28:02 -0400
Quote output variable contents
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/links/bin/ffmpeg-to-mp4.sh b/links/bin/ffmpeg-to-mp4.sh
@@ -30,7 +30,7 @@ ffmpeg -i "$1" -y -vframes 1 -f image2 "${output%.*}.png"
#ffmpeg -i $1 -vf "select='eq(n,$lastframe_index)'" -vframes 1 -f image2 \
# ${output%.*}-last.png
-echo $output
+echo "$output"
if [ "$2" == "cleanup" ]; then
rm "${1%.*}.png"