Actualiser bashlib.sh

This commit is contained in:
2025-04-14 10:13:29 +02:00
parent f98ee82e45
commit 96fc1f1d81

View File

@@ -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}"