Commit 09f25957 authored by Ash Caire's avatar Ash Caire

Fix syntax error

Fix issue where using double quotes instead of round brackets would cause the following error:
./scripts/devcompile.sh: line 30: 10#1.2 > 10#1.2.1: syntax error: invalid arithmetic operator (error token is ".2 > 10#1.2.1")
parent 1087b5de
......@@ -15,7 +15,7 @@ verify_go () {
return 0
fi
local IFS=.
local i ver1="$1" ver2="$2"
local i ver1=($1) ver2=($2)
for ((i=${#ver1[@]}; i<${#ver2[@]}; i++))
do
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment