From c47a7a534f3cfcbeb32ff9580f417483c8ba70f3 Mon Sep 17 00:00:00 2001 From: Reto Kromer Date: Sat, 10 Feb 2018 06:53:13 +0100 Subject: [PATCH] unify coding style --- scripts/check_video_framemd5.sh | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/scripts/check_video_framemd5.sh b/scripts/check_video_framemd5.sh index d7a345a..2077de1 100644 --- a/scripts/check_video_framemd5.sh +++ b/scripts/check_video_framemd5.sh @@ -1,12 +1,12 @@ #!/usr/bin/env bash SCRIPT=$(basename "${0}") - VERSION='2018-02-09' - AUTHOR='ffmprovisr' - RED='\033[1;31m' - BLUE='\033[1;34m' - NC='\033[0m' + VERSION="2018-02-10" + AUTHOR="ffmprovisr" + RED="\033[1;31m" + BLUE="\033[1;34m" + NC="\033[0m" -if [[ "${OSTYPE}" = "cygwin" ]] || [ ! $(which diff) ]; then +if [[ "${OSTYPE}" = "cygwin" ]] || [[ ! "$(which diff)" ]]; then echo -e "${RED}Error: 'diff' is not installed by default. Please install 'diffutils' from Cygwin.${NC}" exit 1 fi