fixed unbound variable in list command

This commit is contained in:
Michael Rodler 2017-11-28 12:01:02 +01:00 committed by Yan
parent 443f397ddb
commit 36acb6c6fc

View file

@ -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