mirror of
https://github.com/lightninglabs/loop.git
synced 2026-08-13 12:33:03 +02:00
release.sh: fix green and red messages on Mac
This commit is contained in:
parent
260b90d1af
commit
25c5618684
1 changed files with 2 additions and 2 deletions
|
|
@ -19,12 +19,12 @@ BUILD_DIR="${SCRIPT_DIR}/tmp-build-$(date +%Y%m%d-%H%M%S)"
|
|||
|
||||
# green prints one line of green text (if the terminal supports it).
|
||||
function green() {
|
||||
echo -e "\e[0;32m${1}\e[0m"
|
||||
printf "\e[0;32m%s\e[0m\n" "${1}"
|
||||
}
|
||||
|
||||
# red prints one line of red text (if the terminal supports it).
|
||||
function red() {
|
||||
echo -e "\e[0;31m${1}\e[0m"
|
||||
printf "\e[0;31m%s\e[0m\n" "${1}"
|
||||
}
|
||||
|
||||
# Use GO_CMD from env if set, otherwise default to "go".
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue