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:
parent
1087b5def8
commit
09f2595715
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue