rage / tmc-cli-rust

CLI for students using the TestMyCode programming assignment evaluator.
https://tmc.mooc.fi/
Apache License 2.0
8 stars 1 forks source link

Install script doesn't work with bash on linux(fedora) #24

Closed ulnasensei closed 1 year ago

ulnasensei commented 1 year ago
~ Installing TMC-CLI ~
(If your shell is not bash, you may have to do the installation manually.)

Fetching latest version URL from https://download.mooc.fi
bash: line 51: ((: 0.2.4 > 0.0.0 : syntax error: invalid arithmetic operator (error token is ".2.4 > 0.0.0 ")
bash: line 53: ((: 0.2.4 >= 0.0.0 : syntax error: invalid arithmetic operator (error token is ".2.4 >= 0.0.0 ")
bash: line 55: ((: 0.2.4 >= 0.0.0 : syntax error: invalid arithmetic operator (error token is ".2.4 >= 0.0.0 ")
Could not find version
Heliozoa commented 1 year ago

Thanks for the issue! I was able to replicate it and it should be fixed now.