Actualiser bashlib.sh
This commit is contained in:
@@ -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}"
|
||||
|
||||
Reference in New Issue
Block a user