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