Mac: fix macos_bundle output formatting
Updates message formatting in the bundle script to escaped formatting, eliminating output terminal errors.
This commit is contained in:
parent
6720fa90e7
commit
12e60dd6c3
|
@ -9,11 +9,11 @@
|
|||
# - GTK_PREFIX
|
||||
|
||||
# Formatting
|
||||
fNormal="$(tput sgr0)" >/dev/null 2>&1
|
||||
fBold="$(tput bold)" >/dev/null 2>&1
|
||||
fNormal="$(printf "\e[0m")"
|
||||
fBold="$(printf "\e[1m")"
|
||||
# Colors depend upon the user's terminal emulator color scheme - what is readable for you may be not readable for someone else.
|
||||
fMagenta="$(tput setaf 5)" >/dev/null 2>&1
|
||||
fRed="$(tput setaf 1)" >/dev/null 2>&1
|
||||
fMagenta="$(printf "\e[1;35m")"
|
||||
fRed="$(printf "\e[1;31m")"
|
||||
|
||||
function msg {
|
||||
printf "\\n${fBold}-- %s${fNormal}\\n" "${@}"
|
||||
|
|
Loading…
Reference in New Issue