Commit 82f6bc82 authored by Seblu's avatar Seblu
Browse files

Fix missing char in color code

parent 2c690098
Loading
Loading
Loading
Loading
+5 −4
Original line number Diff line number Diff line
@@ -30,10 +30,11 @@ declare -a to_32 to_64
shopt -s nullglob

if [[ -t 0 && -t 2 ]]; then
	GREEN='1;32m'
	BLUE='1;34m'
	BOLD='0;1m'
	RESET='m'
	RED=$'\e''[1;31m'
	GREEN=$'\e''[1;32m'
	BLUE=$'\e''[1;34m'
	BOLD=$'\e''[0;1m'
	RESET=$'\e''[m'
fi

msg() {
+6 −5
Original line number Diff line number Diff line
@@ -27,10 +27,11 @@ shopt -s nullglob
declare -a to_commit

if [[ -t 0 && -t 2 ]]; then
	GREEN='1;32m'
	BLUE='1;34m'
	BOLD='0;1m'
	RESET='m'
	RED=$'\e''[1;31m'
	GREEN=$'\e''[1;32m'
	BLUE=$'\e''[1;34m'
	BOLD=$'\e''[0;1m'
	RESET=$'\e''[m'
fi

msg() {
@@ -104,7 +105,7 @@ fi

# exit early when no job
if (( ${#to_commit[@]} == 0 )); then
	echo 'No package to add' >&2
	echo -e "${RED}No package to add${RESET}" >&2
	exit 2
fi