Browse Source

Update commands_notfound variable check

master
Pekka Helenius 6 years ago
committed by GitHub
parent
commit
fdb6727149
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      runme.sh

+ 1
- 1
runme.sh View File

@ -82,7 +82,7 @@ function checkCommands() {
fi fi
done done
if [[ -n $COMMANDS_NOTFOUND ]]; then
if [[ -v COMMANDS_NOTFOUND ]]; then
echo -e "\n${bash_red}Error:${bash_color_default} The following commands could not be found: ${COMMANDS_NOTFOUND[*]}\nAborting\n" echo -e "\n${bash_red}Error:${bash_color_default} The following commands could not be found: ${COMMANDS_NOTFOUND[*]}\nAborting\n"
exit 1 exit 1
fi fi


Loading…
Cancel
Save