From 96fc1f1d81290a9aa5ea0df4bbb10f437f612d19 Mon Sep 17 00:00:00 2001 From: Eric Coissac Date: Mon, 14 Apr 2025 10:13:29 +0200 Subject: [PATCH] Actualiser bashlib.sh --- bashlib.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bashlib.sh b/bashlib.sh index a70040d..7dc272b 100644 --- a/bashlib.sh +++ b/bashlib.sh @@ -8,7 +8,7 @@ debug() { if [[ -n "$DEBUG" ]]; then local prompt="$1" shift - local message="$*"" + local message="$*" if [[ -n "$message" ]] ; then message=": $message" @@ -56,7 +56,7 @@ success() { } check_command() { - local command=$1 + local command="$1" if [[ -z $(which ${command}) ]] ; then error "Missing command" "${command}"