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")
This commit is contained in:
Ash Caire 2014-03-13 22:14:06 +11:00
parent 1087b5def8
commit 09f2595715
1 changed files with 1 additions and 1 deletions

View File

@ -15,7 +15,7 @@ verify_go () {
return 0 return 0
fi fi
local IFS=. local IFS=.
local i ver1="$1" ver2="$2" local i ver1=($1) ver2=($2)
for ((i=${#ver1[@]}; i<${#ver2[@]}; i++)) for ((i=${#ver1[@]}; i<${#ver2[@]}; i++))
do do