From 36acb6c6fc66b1657aaaba16b4d23dff9100afd3 Mon Sep 17 00:00:00 2001 From: Michael Rodler Date: Tue, 28 Nov 2017 12:01:02 +0100 Subject: [PATCH] fixed unbound variable in list command --- bin/manage-tools | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/manage-tools b/bin/manage-tools index 6d44fd7..86fbf5c 100755 --- a/bin/manage-tools +++ b/bin/manage-tools @@ -257,7 +257,7 @@ case $ACTION in do [ ! -e "$t/install" ] && continue - if [[ "$2" == "" ]]; then + if [[ "${2:-}" == "" ]]; then echo "$t" else if is_tool_installed "$t"; then