paritybit.ca

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README | LICENSE

commit ef40c721068fa45ade7aa8ac0ecb367b0602a8bb
parent 2223ac8604577f4432a51bf3637f4b68a2d4a18c
Author: Jake Bauer <jbauer@paritybit.ca>
Date:   Sat, 23 May 2020 19:43:20 -0400

Remove curly brace expansion, not portable

Diffstat:
Mcompile | 8++++----
1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/compile b/compile @@ -72,25 +72,25 @@ fi # Prints the message passed as the 1st argument in red. print_error_msg() { - printf "${RED}[ee] %s\n${CLEAR}" "$1" + printf "$RED[ee] %s\n$CLEAR" "$1" } # Prints the message passed as the 1st argument in green. print_success_msg() { - printf "${GREEN}[ok] %s\n${CLEAR}" "$1" + printf "$GREEN[ok] %s\n$CLEAR" "$1" } # Prints the message passed as the 1st argument in yellow. print_header_msg() { - printf "${YELLOW}[hh] %s\n${CLEAR}" "$1" + printf "$YELLOW[hh] %s\n$CLEAR" "$1" } # Prints the message passed as the 1st argument with default colours. print_info_msg() { - printf "${CLEAR}[ii] %s\n" "$1" + printf "$CLEAR[ii] %s\n" "$1" } auto_upload()