From 9b24bedfa6875fec818176da41c8820de175e132 Mon Sep 17 00:00:00 2001 From: Luke Childs Date: Mon, 4 Jul 2016 00:45:36 +0100 Subject: [PATCH] Reword some comments --- gifgen | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gifgen b/gifgen index 7a186ad..24f6689 100755 --- a/gifgen +++ b/gifgen @@ -46,13 +46,13 @@ done # Show help and exit if we have no input [[ "$input" = "" ]] || [[ $show_help = true ]] && show_help && exit -# If we're not just showing help check we have ffmpeg +# Check for ffmpeg before encoding type ffmpeg >/dev/null 2>&1 || { echo "Error: gifgen requires ffmpeg to be installed" exit 1 } -# Set output filename if not specified +# Set output if not specified input_filename=${input##*/} output=${input_filename%.*}.gif