aboutsummaryrefslogtreecommitdiff
path: root/lib/main.bash
diff options
context:
space:
mode:
Diffstat (limited to 'lib/main.bash')
-rw-r--r--lib/main.bash6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/main.bash b/lib/main.bash
index 1d57dcc..cf4c1a3 100644
--- a/lib/main.bash
+++ b/lib/main.bash
@@ -87,7 +87,7 @@ depcheck_bin() {
missing+=("$tool")
done
- if [[ $missing ]]
+ if [[ ${missing[*]} ]]
then
alert "Some required tools are missing:"
@@ -113,11 +113,11 @@ depcheck_perl() {
missing+=("$tool")
done
- if [[ $missing ]]
+ if [[ ${missing[*]} ]]
then
alert "Some required Perl modules are missing:"
- for modules in "${missing[@]}"
+ for module in "${missing[@]}"
do
alert " $module"
done