Merge pull request #306 from amiaopensource/style

unify coding style
This commit is contained in:
Katherine Frances Nagels 2018-02-10 19:25:31 +13:00 committed by GitHub
commit 9c4da4102a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 12 additions and 12 deletions

View File

@ -1,12 +1,12 @@
#!/usr/bin/env bash #!/usr/bin/env bash
SCRIPT=$(basename "${0}") SCRIPT=$(basename "${0}")
VERSION='2018-02-09' VERSION="2018-02-10"
AUTHOR='ffmprovisr' AUTHOR="ffmprovisr"
RED='\033[1;31m' RED="\033[1;31m"
BLUE='\033[1;34m' BLUE="\033[1;34m"
NC='\033[0m' 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}" echo -e "${RED}Error: 'diff' is not installed by default. Please install 'diffutils' from Cygwin.${NC}"
exit 1 exit 1
fi fi

View File

@ -1,12 +1,12 @@
#!/usr/bin/env bash #!/usr/bin/env bash
SCRIPT=$(basename "${0}") SCRIPT=$(basename "${0}")
VERSION='2018-02-09' VERSION="2018-02-10"
AUTHOR='ffmprovisr' AUTHOR="ffmprovisr"
RED='\033[1;31m' RED="\033[1;31m"
BLUE='\033[1;34m' BLUE="\033[1;34m"
NC='\033[0m' 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}" echo -e "${RED}Error: 'diff' is not installed by default. Please install 'diffutils' from Cygwin.${NC}"
exit 1 exit 1
fi fi