diff --git a/scripts/utils.sh b/scripts/utils.sh index 1d29432..ddf2be5 100644 --- a/scripts/utils.sh +++ b/scripts/utils.sh @@ -322,11 +322,10 @@ function parse_arguments() { } function check_has_programs() { - echo "$@" local failed=() local program for program in "$@"; do - type "$1" &>/dev/null \ + type "$program" &>/dev/null \ || failed+=("$program") done