pespin has submitted this change. ( https://gerrit.osmocom.org/c/libosmocore/+/41547?usp=email )
Change subject: osmo-release.sh: Fix coloring output under bash ......................................................................
osmo-release.sh: Fix coloring output under bash
Change-Id: Ib9e33ec8650ad8bc2e4b1893d9a7195c041c52dc --- M osmo-release.sh 1 file changed, 3 insertions(+), 3 deletions(-)
Approvals: Jenkins Builder: Verified osmith: Looks good to me, approved
diff --git a/osmo-release.sh b/osmo-release.sh index 5a9584c..117071e 100755 --- a/osmo-release.sh +++ b/osmo-release.sh @@ -36,15 +36,15 @@ YELLOW="\033[1;33m"
ok() { - echo "${GREEN}OK:${RESET} $@" + printf "${GREEN}OK:${RESET} %s\n" "$1" }
warn() { - echo "${YELLOW}WARN:${RESET} $@" + printf "${YELLOW}WARN:${RESET} %s\n" "$1" }
error() { - echo "${RED}ERROR:${RESET} $@" + printf "${RED}ERROR:${RESET} %s\n" "$1" }
libversion_to_lib_major() {