iroddis / asdf-mysql

A MySQL Plugin for asdf
GNU General Public License v2.0
19 stars 8 forks source link

Fix the syntax error #11

Closed hota911 closed 3 years ago

hota911 commented 3 years ago

What

Fix the syntax error in the bin/install

Why

I got the nfollowing error on my machine.

$ asdf install
+ set -e
++ echo 5.7.31
++ cut -d. -f1
+ MAJOR=5
++ echo 5.7.31
++ cut -d. -f2
+ MINOR=7
++ mktemp -d
+ tmp_download_dir=/var/folders/dh/m0820tj97h19hbnzdnvcf4840000gn/T/tmp.ryP9tgMp
+ case "$(uname -s)" in
++ uname -s
+ ((  MAJOR <= '8'  ))
/Users/hota/.asdf/plugins/mysql/bin/install: line 21: ((: MAJOR <= '8' : syntax error: operand expected (error token is "'8' ")