Solved shellcheck hints

This commit is contained in:
Kevin Veen-Birkenbach 2020-04-30 11:38:45 +02:00
parent 4715b79aee
commit 40b9034b50

View File

@ -8,12 +8,12 @@ echo "@since 2017-03-12"
echo echo
# Define colors # Define colors
red_color=`tput setaf 1` red_color=$(tput setaf 1)
green_color=`tput setaf 2` green_color=$(tput setaf 2)
yellow_color=`tput setaf 3` yellow_color=$(tput setaf 3)
blue_color=`tput setaf 4` blue_color=$(tput setaf 4)
magenta_color=`tput setaf 5` magenta_color=$(tput setaf 5)
reset_color=`tput sgr0` reset_color=$(tput sgr0)
message(){ message(){
echo "$1[$2]:${reset_color} $3 "; echo "$1[$2]:${reset_color} $3 ";