We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 57190a3 commit bcf1de5Copy full SHA for bcf1de5
basic.sh
@@ -24,12 +24,12 @@ required_commands=(
24
realpath
25
)
26
flag_dependency_check_failed=false
27
-for required_command in "${required_commands[@]}"; do
28
- if ! command -v "${required_command}" >/dev/null; then
+for command in "${required_commands[@]}"; do
+ if ! command -v "${command}" >/dev/null; then
29
flag_dependency_check_failed=true
30
printf \
31
'Error: Unable to locate the "%s" command in the command search PATHs.\n' \
32
- "${required_command}" \
+ "${command}" \
33
1>&2
34
fi
35
done
0 commit comments