From 885839d78968420ad56ac3d87e08a107de111b76 Mon Sep 17 00:00:00 2001 From: Corrado Primier Date: Fri, 28 Feb 2020 12:30:12 +0000 Subject: [PATCH] Use POSIX functions --- bin/scriptamanent | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/bin/scriptamanent b/bin/scriptamanent index 36c6449..bf7bd3a 100755 --- a/bin/scriptamanent +++ b/bin/scriptamanent @@ -6,15 +6,15 @@ REPODIR=`realpath ${SCRIPTDIR}/..` git=`command -v git` -function msg { +msg() { echo "`tput bold`${*}`tput sgr0`" } -function info { +info() { echo "`tput bold``tput setaf 2`[INFO]`tput sgr0` `msg ${*}`" } -function err { +err() { echo "`tput bold``tput setaf 1`[ERROR]`tput sgr0` `msg ${*}`" }