From 965fc3dd0ed8f5f425478c3d89d928431386a3a0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gardais=20J=C3=A9r=C3=A9my?= Date: Tue, 16 Jun 2020 10:04:01 +0200 Subject: [PATCH] Remove non-breaking space character --- cluster/maco.check.update.sh | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/cluster/maco.check.update.sh b/cluster/maco.check.update.sh index 05310e1..e4a9c0d 100755 --- a/cluster/maco.check.update.sh +++ b/cluster/maco.check.update.sh @@ -42,10 +42,10 @@ usage() { # {{{ usage: $PROGNAME Compare current version of Maco script with the latest and - the urgent versions then try to prepare the host by : + the urgent versions then try to prepare the host by: * Disabling SGE queue -EXAMPLES : +EXAMPLES: - Verify Maco's upgrade and prepare the current host ${PROGNAME} EOF @@ -57,7 +57,7 @@ debug_message() { # {{{ local_debug_message="${1}" ## Print message if DEBUG is enable (=0) - [ "${DEBUG}" -eq "0" ] && printf '\e[1;35m%-6b\e[m\n' "DEBUG − ${PROGNAME} : ${local_debug_message}" + [ "${DEBUG}" -eq "0" ] && printf '\e[1;35m%-6b\e[m\n' "DEBUG − ${PROGNAME}: ${local_debug_message}" } # }}} @@ -129,7 +129,7 @@ Latest Maco upgrade is available (from version ${CURRENT_MACO_VERSION} to ${LATE return_upgrade="0" else debug_message "is_maco_upgrade_require − \ -Local Maco (${CURRENT_MACO_VERSION}) seems up to date (latest : ${LATEST_MACO_VERSION})." +Local Maco (${CURRENT_MACO_VERSION}) seems up to date (latest: ${LATEST_MACO_VERSION})." return_upgrade="1" fi @@ -143,8 +143,8 @@ is_maco_uptodate() { # {{{ if [ "${CURRENT_TIMESTAMP}" = "${LATEST_TIMESTAMP}" ]; then debug_message "is_maco_uptodate − \ -Local Maco (${CURRENT_MACO_VERSION}) is up to date (latest : ${LATEST_MACO_VERSION})." - message "Local Maco (${CURRENT_MACO_VERSION}) is up to date (latest : ${LATEST_MACO_VERSION})." +Local Maco (${CURRENT_MACO_VERSION}) is up to date (latest: ${LATEST_MACO_VERSION})." + message "Local Maco (${CURRENT_MACO_VERSION}) is up to date (latest: ${LATEST_MACO_VERSION})." return_uptodate="0" else debug_message "is_maco_uptodate − \