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:
Richard E Barber 2023-08-07 07:06:51 -07:00 committed by GitHub
parent 6720fa90e7
commit 12e60dd6c3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 4 deletions

View File

@ -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" "${@}"