From 6a80f6e0d4da87a91f8ae3ece7ac8b24ad96fcb6 Mon Sep 17 00:00:00 2001 From: spiritLHLS <103393591+spiritLHLS@users.noreply.github.com> Date: Mon, 24 Apr 2023 09:20:25 +0800 Subject: [PATCH] Update build_backend.sh --- scripts/build_backend.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/build_backend.sh b/scripts/build_backend.sh index 2396c66..e5f1f17 100644 --- a/scripts/build_backend.sh +++ b/scripts/build_backend.sh @@ -6,7 +6,7 @@ _red() { echo -e "\033[31m\033[01m$@\033[0m"; } _green() { echo -e "\033[32m\033[01m$@\033[0m"; } _yellow() { echo -e "\033[33m\033[01m$@\033[0m"; } _blue() { echo -e "\033[36m\033[01m$@\033[0m"; } -reading(){ read -rp "$(green "$1")" "$2"; } +reading(){ read -rp "$(_green "$1")" "$2"; } utf8_locale=$(locale -a 2>/dev/null | grep -i -m 1 utf8) if [[ -z "$utf8_locale" ]]; then _yellow "No UTF-8 locale found"