From 81ea5df3b31d0b6bb8f3cc3593be756f7782ab6d Mon Sep 17 00:00:00 2001 From: Michael Boelen Date: Thu, 5 Jul 2018 15:57:19 +0200 Subject: [PATCH] Fix: extra operand error --- include/functions | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/functions b/include/functions index 148f2dbe..951ebae7 100644 --- a/include/functions +++ b/include/functions @@ -1552,7 +1552,7 @@ # Check if we caught some string along all tests if [ ! "${SHORT}" = "" ]; then # Lowercase and see if we found a match - SHORT=$(echo ${SHORT} | awk '{ print $1 }' | tr [[:upper:]] [[:lower:]]) + SHORT=$(echo ${SHORT} | awk '{ print $1 }' | tr '[:upper:]' '[:lower:]') case ${SHORT} in amazon-ec2) ISVIRTUALMACHINE=1; VMTYPE="amazon-ec2"; VMFULLTYPE="Amazon AWS EC2 Instance" ;;